|
Re: Buttons on Joystick
When your code is working correctly, you should see two of the LEDs on the cRIO module in slot 8 working. One should light while the other is off and vice versa. You probably need to set the initial state in Begin.vi as well, but they default to Off, so they'll begin as both LEDs off.
If those lights are working, then move on to checking the wiring.
One solenoid side of your double is wired to Solenoid Breakout pin(s) 1 and the other side to pin(s) 2.
The compressor probably isn't messing up the solenoids.
Normally, in Begin.vi, we do an Open Compressor, then a Start Compressor, then the Refnum. The Start is actually a periodic task all it's own and continues to run the entire time your code is active.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|