Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling two solenoid valves using NI 9482 Relay

Hello, I just started this time-sensitive project last week (and began using LabVIEW at the same time) and I am looking for help to control two solenoid valves using an NI 9482 relay and a cDAQ-9172. I would like to run my program for a set (variable) amount of time (probably about 3 sec). Half a second after starting, I would like my first solenoid valve to open, and then a certain amount of time after that I want my second valve to open. I would like them to remain open until the program has run for the set amount of time, then I want them to close at the same time at the end of the program's run time. I am looking for advice on the simplest way to perform this using LabVIEW. Thank you.

0 Kudos
Message 1 of 3
(3,200 Views)

Hello KarH, I recommend using the LabVIEW examples (Help -> Find Examples -> hardware input and output -> DAQmx) there you'll find examples that fit for this. 

Also, keep in mind that this device needs an outside power source, check page 10 of this document http://www.ni.com/pdf/manuals/373948b.pdf and the sample rate is 1 S/s meaning this is the fastest rate you can open/close the relay.

 

Seeing you are new with DAQmx, I highly recommend this document http://www.ni.com/product-documentation/2835/en/, it's possible you find enough information to start your project.

 

Regards,

PedroR 

 

 

0 Kudos
Message 2 of 3
(3,146 Views)

Thank you for your response. I actually figured it out yesterday using examples.

0 Kudos
Message 3 of 3
(3,143 Views)