LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subvi daq

Hi,

 

I am still pretty new to LabView and I am setting up sensors to read out measurements in a system. I have created a subVI for each sensor (12 total) and would like to put them all in one main VI so that I can view all the measurements at once and have control over all of them. Each subVI has its own DAQ assistant set up in it to acquire the data but I am not sure how best to connect all of the subVIs?
Or is this even a good way to go about it?

 

I have attached an example of a sbuVI for reading temperature and the final VI that I want all of the subVIs connected in.

 

Thanks for your help!

Download All
0 Kudos
Message 1 of 2
(2,488 Views)

If everything is being read at the same rate, make a single DAQmx task to read all of the channels in one shot.  In your case, that would be a single DAQ Assistant that has all of the channels.  Since your rates are fairly slow, you should be able to do everything in a single loop.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,473 Views)