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.

rewrite
#3
(09.08.2019, 06:34)admin Wrote: You can use for loop and checkwrite which will not send the same value again.

Code:
require('bacnet')

for i = 2, 11 do
  id = 16000 + i
  value = bacnet.readvalue(id, 'binary value', 8) -- Prise du statut Fenetre
  grp.checkwrite('5/3/' .. i, value)
end
Thanks !!
Reply


Messages In This Thread
rewrite - by Gadjoken - 09.08.2019, 06:27
RE: rewrite - by admin - 09.08.2019, 06:34
RE: rewrite - by Gadjoken - 09.08.2019, 07:42

Forum Jump: