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.

[OLD] LogicMachine firmware 2017.06
#10
(04.07.2017, 10:04)admin Wrote: Not sure about that, though there will be a new function grp.checkvalue(alias, value [, delta]) which tells whether the value should be sent or not. It can be used for your task (you can create your own wrapper function and put it into common functions):
Code:
value = 50
if grp.checkvalue('1/4/1', value) then
 grp.write('1/2/1', value)
end

I am not asking to add a new function just modify the exist ( grp.checkwrite, grp.checkresponse, grp.checkupdate ).  I think in terms of performance a wrapper will be slower.  Plus I wouldn't need to use grp.checkwrite since a double comparison is made.  

thanks,

Roger


Messages In This Thread
RE: LogicMachine firmware 2017.06 RC4 - by rocfusion - 04.07.2017, 17:15

Forum Jump: