Discussion:
How do I actuate solenoid valves using ni 9476?
(too old to reply)
InOverMyHead
2007-08-16 14:10:08 UTC
Permalink
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
Paul C.
2007-08-17 18:40:11 UTC
Permalink
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 <a href="http://zone.ni.com/devzone/cda/tut/p/id/5434" target="_blank">here</a> if you
need help getting started with DAQmx.&nbsp; In addition, you can find many
examples in the labVIEW example finder (Help » Find Examples » Hardware Input
and Output » DAQmx).&nbsp; I went ahead and wrote a simple example that you can
use to learn from. &nbsp; 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.&nbsp; 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).&nbsp; They can be found <a href="http://www.ni.com/academic/resources_how_teach_lv.htm" target="_blank">here</a>. &nbsp; 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.


dig_output_example.vi:
http://forums.ni.com/attachments/ni/70/7334/1/dig_output_example.vi
AnalogKid2DigitalMan
2007-08-17 19:40:12 UTC
Permalink
Pay attention to pages 8 and 9 of this document:<a href="http://www.ni.com/pdf/manuals/373964c.pdf" target="_blank">http://www.ni.com/pdf/manuals/373964c.pdf</a>
&nbsp;
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.

Loading...