--- a/etherlab/EthercatSlave.py Sat Jun 23 09:17:20 2018 +0200
+++ b/etherlab/EthercatSlave.py Wed Nov 20 16:57:15 2019 +0100
@@ -18,6 +18,7 @@
#------------------------------------------
from CommonEtherCATFunction import _CommonSlave
+from dialogs import BrowseValuesLibraryDialog
#------------------------------------------
@@ -70,6 +71,8 @@
def __init__(self):
# ----------- call ethercat mng. function --------------
self.CommonMethod = _CommonSlave(self)
+ self.SelectedRxPDOIndex = []
+ self.SelectedTxPDOIndex = []
def GetIconName(self):
return "Slave"
@@ -119,7 +122,7 @@
def SetParamsAttribute(self, path, value):
self.GetSlaveInfos()
position = self.BaseParams.getIEC_Channel()
-
+
if path == "SlaveParams.Type":
self.CTNParent.SetSlaveType(position, value)
slave_type = self.CTNParent.GetSlaveType(self.GetSlavePos())