02-11-2010 07:38 PM
Hello
I would like write a labview program that when I press one of the buttons on the joystick, the following happens in this order
1) solenoid #1 is activated while solenoid #2 is not for 1 second
2) solenoid #1 is not activated while solenoid #2 is activated for 3 seconds
3) solenoid #1 is not activated while solenoid #2 is not not active until the button is pressed again
I would like the robot to be able to drive around while I am activating these pistons
Thank you
02-11-2010 08:45 PM
Have you already tried writing this and ran into problems, or you don't know where to start? Search the LabVIEW help and forums for "state machine" since that's the pattern you should use.
02-12-2010 10:03 AM
Check out this document--> Application Design Patterns: State Machines
Also, I've attached some code that should get you started.