Data type - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Data type (/showthread.php?tid=156) |
Data type - FatMax - 09.12.2015 Code: -- Gets values I have this script that compares two values and writes the lowest value to a group address. However, I´m not writing it in the correct format. Consequently, the data will not display on screens in the house. ETS does not recognise the data type as a temperature, rather as a 2-byte float. How do I write a 9.001 Temperature data type to the group? RE: Data type - admin - 09.12.2015 There's no difference between generic 2-byte float and 9.001 Temperature, you just have to set 3/3/9 object datatype correctly. ETS might not display values correctly for objects that are not in its database. RE: Data type - FatMax - 09.12.2015 But a display should display them correctly? Currently I´m getting 0 °C, although I know I'm sending data to the group address. It should display 10 °C... RE: Data type - admin - 09.12.2015 You should use grp.write if your display is connected to KNX/TP. RE: Data type - FatMax - 09.12.2015 I just changed it to that. Not at site at this moment, however, when I used group monitor (remotely) in ETS it actually showed up there with grp.update. Is that because its connected remotely through the LM? RE: Data type - admin - 09.12.2015 ETS uses tunneling connection and grp.update forwards telegrams to KNX/IP routing an tunneling by default, unless filtering is enabled. RE: Data type - FatMax - 09.12.2015 Gotcha! Thanks! RE: Data type - FatMax - 09.12.2015 You were correct - It now functions properly! |