Logic Machine Forum
Bacnet - Script error - 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: Bacnet - Script error (/showthread.php?tid=3757)



Bacnet - Script error - Alexander - 18.12.2021

Hi,

I am getting an error when trying to run a script for changing the set. temp.
See uploaded image.

I want to change the set. temp. But this code doesn't work. Any suggestions?


RE: Bacnet - Script error - Erwin van der Zwart - 19.12.2021

Use the command like this:

bacnet.write(2, 'analog input', 126, value, 13)


RE: Bacnet - Script error - Alexander - 20.12.2021

(19.12.2021, 10:50)Erwin van der Zwart Wrote: Use the command like this:

bacnet.write(2, 'analog input', 126, value, 13)

Yes, that was the case. 
Thank you Erwin.