|
Re: Labview Solenoid Programming
Yes, just add more of the same solenoid code for each new solenoid you want to add.
Repeat the Relay code for more Relays (Spikes). The Relay is treated a little differently than the solenoid, because Relays have 4 possible inputs - Forward/Reverse/On/Off and you need to use a case statement block to set those properly.
The magnetic reed switch gets connected to one of the Digital Sidecar inputs labeled Digital I/O. The same place that the pressure switch got connected and to the same signal/ground(1) pins, no power.
The pictures I posted are just my example of how to setup the compressor and use solenoids with the 2010 LabVIEW framework.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|