05-08-2017 01:03 PM - edited 05-08-2017 01:03 PM
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.
05-09-2017 11:47 AM
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
05-09-2017 01:33 PM
Thank you for your response. I actually figured it out yesterday using examples.