beremiz
Clone
Summary
Browse
Changes
Graph
Fix bug in CIA402 slave digital inputs
2012-10-19, Laurent Bessard
ae263886ae92
Parents
579af800b359
Children
8e4992e0f147
Fix bug in CIA402 slave digital inputs
1 files changed, 2 insertions(+), 2 deletions(-)
+2
-2
etherlab/etherlab.py
--- a/etherlab/etherlab.py Fri Oct 19 12:43:42 2012 +0200
+++ b/etherlab/etherlab.py Fri Oct 19 16:37:54 2012 +0200
@@ -171,8 +171,8 @@
("ActualPosition", 0x6064, 0x00, "DINT", "I"),
]
- DEFAULT_RETRIEVE = " __CIA402Node_%(location)s.axis->%(name)s = __CIA402Node_%(location)s.%(name)s;"
- DEFAULT_PUBLISH = " __CIA402Node_%(location)s.%(name)s = __CIA402Node_%(location)s.axis->%(name)s;"
+ DEFAULT_RETRIEVE = " __CIA402Node_%(location)s.axis->%(name)s = *(__CIA402Node_%(location)s.%(name)s);"
+ DEFAULT_PUBLISH = " *(__CIA402Node_%(location)s.%(name)s) = __CIA402Node_%(location)s.axis->%(name)s;"
EXTRA_NODE_VARIABLES = [
("DigitalInputs", [