|
Re: Program 2 coil solenoid
Normally I wouldn't post complete code (I'd rather give suggestions and help guide you) but since we are almost a week away from ship here you go.
Attached .vi works by toggling a state whenever button 1 is pressed and actuating the appropriate cylinders. We aren't using pneumatics this year so I just noticed that the solenoid vi's use enumerated constants (like the relay's) compared to boolean values like last year, but this should still work fine. We used this last year for a periscope on our robot that one of our drive team would toggle up and down with the joystick trigger. Good luck!
__________________
|