Quote from
Robdon on June 22, 2011, 3:13 pm
Hi,
I have a Laser Relay that has a Output on 'Powered' to start animating an arm to the up position. It also has a Output on 'UnPowered' that then lowers it.
All works well, but if you add a delay to the 'Powered' Output of say 5 seconds, then if you move the laser away from the relay while its in this 5 second delay, then it immediately triggers the 'UnPowered', which is fine, but the 'Powered' event is still running, and then runs in a few seconds when the delay runs out. So the arm is in the up position even though the relay isnt powered.
Am I doing something wrong?
Or is there some Output that I cant find that 'cancels' all delayed events, so I can call that first on UnPowered, before animating the arm to down?
The reason I have a delay, is that I have lots of panels to move to up, and I put a .20 delay in each one so they look 'different'.
Thanks,
Rob.
Hi,
I have a Laser Relay that has a Output on 'Powered' to start animating an arm to the up position. It also has a Output on 'UnPowered' that then lowers it.
All works well, but if you add a delay to the 'Powered' Output of say 5 seconds, then if you move the laser away from the relay while its in this 5 second delay, then it immediately triggers the 'UnPowered', which is fine, but the 'Powered' event is still running, and then runs in a few seconds when the delay runs out. So the arm is in the up position even though the relay isnt powered.
Am I doing something wrong?
Or is there some Output that I cant find that 'cancels' all delayed events, so I can call that first on UnPowered, before animating the arm to down?
The reason I have a delay, is that I have lots of panels to move to up, and I put a .20 delay in each one so they look 'different'.
Thanks,
Rob.