Quote:
Originally Posted by Domenic Rodriguez
Judging by your picture, it looks like you are using a double solenoid. I've never controlled a solenoid through Spikes before, but I believe you will need two Spikes, one for each side.
|
Only one spike per double solenoid.
The code for a double would use kForward for one direction and kReverse for the other direction. Don't use kOff for this purpose.
Wiring a spike to control a 12v-only solenoid via a Relay output on the Digital Sidecar looks like this:
24v solenoids are usable only through the cRIO Solenoid Module/Breakout, not a 12v Spike relay.