22.09.2018, 21:20
(This post was last modified: 22.09.2018, 21:26 by Erwin van der Zwart.)
Hi,
Have not checked your script fully, but in the first lines i already see mistakes..
1) event.getvalue(0/2/10) needs to be event.getvalue() without any value passing to the function.
2) grp.getvalue(32/1/4) is missing the quotes and needs to be grp.getvalue(‘32/1/4’)
Your script will probably start to work better if you change these mistakes, but i expect you notice more problems as you use a os.sleep() in a event based script without script to avoid paralell execution.
This will probably not going to work as you expect..
BR,
Erwin
Have not checked your script fully, but in the first lines i already see mistakes..
1) event.getvalue(0/2/10) needs to be event.getvalue() without any value passing to the function.
2) grp.getvalue(32/1/4) is missing the quotes and needs to be grp.getvalue(‘32/1/4’)
Your script will probably start to work better if you change these mistakes, but i expect you notice more problems as you use a os.sleep() in a event based script without script to avoid paralell execution.
This will probably not going to work as you expect..
BR,
Erwin