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.

Status request at init
#1
Hello,

I need to know if it's possible to send a status request to all the statusĀ group adresses when LM is initializating, on the other hand I like to know if it's possible to save group values in memory for a internal values, THX!
Reply
#2
Hi,

Add tag 'status' to all your objects that needs to be read on init and put these 2 lines in your start-up script: (make sure you have read flag enabled on your objects fromĀ ETS)

Code:
statusobjects = grp.tag('status')
statusobjects:read()

If you have a lot of objects make sure to request them in a couple of requests with a os.sleep between them and tag them status1, status2 etc..

BR,

Erwin
Reply


Forum Jump: