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.

Script Loop
#1
I installed the LM APK on a display and connected it to the LogicMachine. I have run into a major problem.
I have three DALI LED luminaires with short addresses A0, A1, and A2. The corresponding KNX switch object addresses are 1/1/1, 1/1/4, and 1/1/7.
I created a virtual KNX object 32/1/1 and attached the following event script to it:
Code:
value = event.getvalue() grp.write('1/1/1', value) grp.write('1/1/4', value) grp.write('1/1/7', value)
In the visualization, I created a standard On/Off control using 32/1/1 as both the Control and Status object.
When I operate this control, it causes complete chaos on the DALI bus. It appears that the event script is executed dozens of times instead of just once. The ON/OFF commands are continuously sent to the three DALI luminaires and they never stop. The only time the commands stop is when the DALI bus eventually seems to lock up.
Have you seen this behavior before?
Reply


Messages In This Thread
Script Loop - by vladmci - 11 hours ago
RE: Script Loop - by Daniel - 10 hours ago
RE: Script Loop - by vladmci - 10 hours ago
RE: Script Loop - by Daniel - 9 hours ago

Forum Jump: