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.

read table
#1
Hello,
When I read this group address, it responds with this table, could you help me to read the elements to visualize it.
Thanks


log(grp.getvalue('0/5/4'))

Event for Error Pasarela Dali-1 (Linea 1) (0/5/1) 09.03.2021 21:56:29
* table:
["address"]
  * number: 2
["lamperror"]
  * bool: true
["ballasterror"]
  * bool: true





Reply
#2
data = grp.getvalue('0/5/4')

data.address
data.lamperror
data.ballasterror

Or if you only need one of them

grp.getvalue('0/5/4').lamperror
Reply


Forum Jump: