Log in

View Full Version : I Button Press, Always True Until Next Press


DWirth
13-02-2010, 00:51
Hello,
I am programming 2 pneumatic cylinders to push something up and keep it up. However the way I have it now, you would have to hold the button down to keep the 2 valves the correct boolean value.
I want the button on the joystick to be pressed once then stay true until I press the button again which would turn it back to true. This thing I would want to turn to true of false is a case structure.
Does anyone have any ideas on how I would achieve something like this, I'm out of ideas. Any help would be awesome.
Thanks again,
Dillon Wirth

Mike Betts
13-02-2010, 01:36
Hello,
I am programming 2 pneumatic cylinders to push something up and keep it up. However the way I have it now, you would have to hold the button down to keep the 2 valves the correct boolean value.
I want the button on the joystick to be pressed once then stay true until I press the button again which would turn it back to true.
Does anyone have any ideas on how I would achieve something like this, I'm out of ideas. Any help would be awesome.
Thanks again,
Dillon Wirth

Dillon,

Read through this thread (http://www.chiefdelphi.com/forums/showthread.php?t=81938). Your answer may lie within...

Regards,

Mike

Egg 3141592654
13-02-2010, 16:47
Feedback loop is the best way to go. The help in the Labview Help library will explain more in depth.