LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

configure DAQ in run

I had previously written a VI which acquired data through both MODBUS and a cDAQ.  I was new to labview at the time, and used the Express VI to setup the data acquisition.

 

I am currently trying to re-write the analog acquisition portion of the vi using more traiditonal DAQmx functions.  The reason for this is that I happen to change sensor types regularly (mostly flipping between K and J type thermocouples, 3 and 4 wire RTD's etc).  Thus I wanted to change the acquisition so that I could configure those inputs during run in the main vi. 

 

I realize that you can't change configuration during acquisition, but I want other parts of the main vi to remain active while I make changes.

 

Thus, I wrote the attached vis as a test.  I wrote one VI (Analog Acquisition) which will configure all inputs.  I then want to take that configuration and run the task in another loop.  The catch is that during acquisition I want to run continous samples.  For the life of me I can not figure out how to do so.  Test Program2 is the main.

0 Kudos
Message 1 of 2
(2,317 Views)

Well,


I figured it out.  When all were placed in a state machine, life got a lot simpler.  Back to the basics.

0 Kudos
Message 2 of 2
(2,305 Views)