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.

Converting 0-100% into litres/second.
#3
(12.06.2023, 07:24)admin Wrote: You need to use event.getvalue(). grp.read() sends read request but does not return the actual value.
Code:
value = event.getvalue()
value = 20 + value * 1.2
grp.checkwrite('0/3/68', value)

Ah, super! Thank you very much!
Reply


Messages In This Thread
RE: Converting 0-100% into litres/second. - by PacoUmea - 13.06.2023, 05:52

Forum Jump: