etherlab/EthercatCIA402Slave.py
changeset 2145 65ed4f7c941b
parent 2136 71fdfd4a12a3
child 2146 0c65c96a8379
--- a/etherlab/EthercatCIA402Slave.py	Thu May 02 13:40:35 2013 +0200
+++ b/etherlab/EthercatCIA402Slave.py	Fri May 03 13:47:51 2013 +0200
@@ -219,7 +219,7 @@
                     "param_name": param["name"],
                 }
                 if param["type"] == "boolean":
-                    param_infos["param_value"] = {True: "true", False: "false"}[param["value"]]
+                    param_infos["param_value"] = {True: "1", False: "0"}[param["value"]]
                 else:
                     param_infos["param_value"] = str(param["value"])
                 str_completion["init_axis_params"].append(