Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

run DAQ VI in background

I am measuring a vacuum gauge and I have to open and close a valve sometimes. I have two different VIs for this. I use one USB multipurpose DAQ bth for reading the gauge and setting the valve (labjack.com).

Sometimes the DAQ card is not done with reading the gauge, but then the other VI tries to write to set a valve and a conflict occurs.

I cannot run one after the other, but the gauge VI must run "in the background" but when the valve is set, it should stop measuring until the valve command is done. Also, the valve VI should only run when the gauge VI is done.

Any suggestions how to do this?

Douwe
0 Kudos
Message 1 of 2
(2,419 Views)
Hey Douwe,

I have tested this several times with PCI devices, and I have never ran into a problem. I can run the analog output and analog input examples at the same time, restart one, or stop one and never have a problem. It is possible that this is cuased by the interrupts that the PCMCIA devices use, because they do not have DMA. Try opening the LV Cont Acq&Graph(buffered) example and the Continuous Generation example and let me know what happens. You should be able to run these two VIs without any problems.

I hope this helps.

Joshua
0 Kudos
Message 2 of 2
(2,419 Views)