equal
deleted
inserted
replaced
68 Define a new path for the CanOpen network project |
68 Define a new path for the CanOpen network project |
69 !!! Does not check if new path is valid !!! |
69 !!! Does not check if new path is valid !!! |
70 """ |
70 """ |
71 self.Root = newrootpath |
71 self.Root = newrootpath |
72 self.Manager.SetCurrentFilePath(os.path.join(self.Root, "master.od")) |
72 self.Manager.SetCurrentFilePath(os.path.join(self.Root, "master.od")) |
|
73 |
|
74 def GetMasterNodeID(self): |
|
75 return self.Manager.GetCurrentNodeID() |
73 |
76 |
74 def GetSlaveNumber(self): |
77 def GetSlaveNumber(self): |
75 return len(self.SlaveNodes) |
78 return len(self.SlaveNodes) |
76 |
79 |
77 def GetSlaveName(self, idx): |
80 def GetSlaveName(self, idx): |