13.12.2016, 20:28
(13.12.2016, 19:45)Erwin van der Zwart Wrote: Hi Josep,
Make sure this function is inside common functions:
Code:---
If you want to combine it with a scheduler then make a 'and' logic, put the output of this script to input 1, output of the schedular to input 2 and the control object to the output of your 'and' logic.
BR,
Erwin
Hi Erwin, tried this out, but it results in this error;
Resident script:16: attempt to perform arithmetic on local 'verschuifingAM' (a nil value)
stack traceback:
Resident script:16: in function 'astronomic'
Best regards, Jørn.