03-03-2011 10:17 AM
Hey,
At first sorry for my bad English, I'm Dutch
I have a case-structure and I want it to be 'true' for 5 seconds (after I push the boolean) and then be false again.
I fixed that with an extra case-structure wich contains an 'Elapsed time' that returns 'false' after 5 seconds.
But... I want to be able to do that several times while the VI's runs. Right now I can only do it once because the 'Elapsed time' doesnt go back to zero after it returns "false".
ANY suggestions are very welcome 🙂
ps I put my VI in the attachement
Cheers
03-03-2011 10:41 AM
Try setting the "Auto-Reset" input of the Elapsed Time function to TRUE. This will reset the timer each time it hits its time target.
Dan
03-04-2011 01:47 AM
Thanks for your reply, I allready tried that but then the true false case that contains the 'elapsed time' stays true (it just keeps running)
03-04-2011 02:41 AM
Hi chickensoup,
Check this code.I have disabled some code in your block diagram. Have changed mechanical action of Boolean control.
Is this what you want?
03-10-2011 07:12 AM
Thanks for your help, but unfortunately this is not what I need. For now i made a compromise and use 2 buttons