Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I actuate solenoid valves using ni 9476?

Here it goes my first post!!
 
I'm trying to actuate a number of 24 vdc solenoid valves using the NI 9476 and an external 24vdc power supply.  I would like to actuate the valves upon running the program and de-actuate them at stop?
 
Any examples would be greatly appreciated.
 
Thanks,
 
Jason
0 Kudos
Message 1 of 3
(4,097 Views)
 

Hi Jason,

All you need to do is write a program that writes a digital output line to high at the beginning of the program and then writes the digital output to a low when you press the "stop" button.  I would recommend taking a look here if you need help getting started with DAQmx.  In addition, you can find many examples in the labVIEW example finder (Help » Find Examples » Hardware Input and Output » DAQmx).  I went ahead and wrote a simple example that you can use to learn from.  The example writes a digital output to high (to actuate the valve) and then writes the digital output low (to deactuate the valve) when you press the stop button.  You will notice that I accomplished this with an Event Structure. If you need additional help getting used to LabVIEW, you might also consider our free LabVIEW introduction courses (3-hour and 6-hour). I would also recommend using Context Help (Control-H or Help » Show Context Help in LabVIEW) to assist you in using our labVIEW vi’s.

Note: The example is for LabVIEW 8.0 or later.

I hope this information helps,
Paul C.

 
0 Kudos
Message 2 of 3
(4,076 Views)
 
Make sure the solenoid does not draw more than 250mA, if it does you need to parallel wire channels up to drive it.
Also use the protection diode mentioned across your solenoid.
Message Edited by Support on 04-13-2009 12:56 PM
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 3
(4,073 Views)