--- a/etherlab/CommonEtherCATFunction.py Fri Sep 28 18:00:50 2018 +0300
+++ b/etherlab/CommonEtherCATFunction.py Fri Sep 28 18:04:28 2018 +0300
@@ -13,6 +13,7 @@
mailbox_protocols = ["AoE", "EoE", "CoE", "FoE", "SoE", "VoE"]
+
def ExtractHexDecValue(value):
"""
convert numerical value in string format into decimal or hex format.
@@ -29,6 +30,7 @@
except Exception:
raise ValueError, "Invalid value for HexDecValue \"%s\"" % value
+
def ExtractName(names, default=None):
"""
Extract "name" field from XML entries.
@@ -136,6 +138,7 @@
returnVal =result
"""
+
# --------------------------------------------------
# Common Method For EtherCAT Management
# --------------------------------------------------