--- 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", [