01-09-2017 04:49 PM
Hi,
I have 3 solenoid valves(2 way, NC) that I have to control via PCI 6289. I know I have to write a Digital signal to a relay to energize it with 12 VDC with a daqmx write function. The use a Queued Message Handler design pattern to turn ON and OFF the valves with corresponding buttons.
If I click a button to turn on a valve, the corresponding case structure executes and data is written, and now try to open another valve, another case executes. Does this mean the previous valve does not receive power anymore since that case exited?
If so, how can I change the architecture to keep three valves open at the same time?
01-12-2017 08:23 AM
Hi!
As long as the corresponding DAQ task is runnining the output stays at the value which you set in your case. Also when you exit the case.
Best regards