Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Is there a Way To refrence a true false statement (http://www.chiefdelphi.com/forums/showthread.php?t=81555)

Tom Line 02-02-2010 01:08

Re: Is there a Way To refrence a true false statement
 
The easiest way to invert your motors response is simply to invert the value you are sending from the joystick.

In this case, inside the teleop VI get a button from the joystick and wire it to a true/false structure. In the false case, wire your normal joystick output through to your motor. In the true case, place a "negate" inside it, and wire your joystick through that.

Now all your joystick values that come out when the button is pressed and held will be inverted, and your motor will run "backwards" in response to them.


All times are GMT -5. The time now is 22:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi