Quote:
Originally Posted by DavidGitz
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!
|
I changed your code to satisfy our double coil solenoid, but the problem with my code is that when the bimba is in its retracted state the solenoid clicks nonstop. I think that it is because my code is trying to make it do something but since it is already there it can't and just keeps trying. I've attached a copy of my solenoid code so any suggestions would be appreciated.