Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Pneumatics (http://www.chiefdelphi.com/forums/showthread.php?t=132587)

M.Kong-Sivert 10-01-2015 17:28

Pneumatics
 
3 Attachment(s)
Our team has not used pneumatics on the robot since 2010, so nobody remembers how to program it. We were setting it up today, but it wouldn't work, and we can't figure out what went wrong. Does this program look right? Thank you.

Mark McLeod 10-01-2015 18:31

Re: Pneumatics
 
That uses button #2 on the game controller, not the trigger if that's what you were thinking "1" mapped to. The trigger would be index 0.

You can actually delete all the compressor code you have there.
Some of it is incorrectly placed, but it isn't explicitly necessary anymore with the roboRIO. If you Open a Solenoid, the compressor automatically gets created too.

Skyehawk 10-01-2015 23:55

Re: Pneumatics
 
Just a couple of thengs here. No need for compressor code, that's automatically created and handled by the new pneumatics module this year. You can also be a boolean value directly into a "solenoid set", no need for the select. Hope I could help.

Mark McLeod 11-01-2015 08:36

Re: Pneumatics
 
Quote:

Originally Posted by Skyehawk (Post 1426041)
You can also be a boolean value directly into a "solenoid set", no need for the select.

That only works for a single solenoid not for a double which the OP's code handles.


All times are GMT -5. The time now is 08:47.

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