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.

Round of decimal values without triggering event?
#4
Vis. params do not affect object display in Mosaic/Touch3. The easiest solution is to create a virtual object with 2-byte unsigned data type and map an event script to the sensor object that has a floating point value.
Code:
value = event.getvalue()
grp.checkupdate('32/1/1', value)
Reply


Messages In This Thread
RE: Round of decimal values without triggering event? - by admin - 11.03.2022, 08:54

Forum Jump: