This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Json virtual object
#6
Is there any way to add the same script to several objects, but with one thing changing everytime?

I have this script that i want to add to 200 objects, but the ID needs to be changed everytime.
from 65793 to 65992

require('bacnet')

value = event.getvalue()

bacnet.write(127001, 'analog value', 65809, value)
Reply


Messages In This Thread
Json virtual object - by Evens - 08.08.2018, 07:01
RE: Json virtual object - by admin - 08.08.2018, 07:16
RE: Json virtual object - by Evens - 08.08.2018, 07:25
RE: Json virtual object - by admin - 08.08.2018, 07:49
RE: Json virtual object - by Evens - 08.08.2018, 07:54
RE: Json virtual object - by Evens - 08.08.2018, 10:33
RE: Json virtual object - by admin - 08.08.2018, 10:49
RE: Json virtual object - by Evens - 08.08.2018, 10:54
RE: Json virtual object - by admin - 08.08.2018, 11:00
RE: Json virtual object - by Evens - 08.08.2018, 11:36
RE: Json virtual object - by Evens - 09.08.2018, 13:29
RE: Json virtual object - by Daniel - 09.08.2018, 16:41
RE: Json virtual object - by admin - 10.08.2018, 06:30
RE: Json virtual object - by Evens - 10.08.2018, 08:37
RE: Json virtual object - by admin - 10.08.2018, 08:40
RE: Json virtual object - by Evens - 10.08.2018, 08:52
RE: Json virtual object - by admin - 10.08.2018, 09:28
RE: Json virtual object - by Evens - 13.08.2018, 06:10

Forum Jump: