LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running Multiple VI's

Solved!
Go to solution

In my lab we would like to run two VIs at once (pressure monitoring using voltage acquisition of pressure transducers for 2 separate experiments). The pressure transducers are connected to 2 different channels of the same DAQ (NI 9215).

The 2 vi's are same.

 

When we try to run a second VI we get the "Error 50103 occurred at DAQmx Start Task.vi:1" message. I read about this error on the NI site but due to my lack of LabView experience I couldn't solve my problem. Kindly help me out with this problem.

 

attached is my VI for reference. 

 

Thanks,

Yasaswy

0 Kudos
Message 1 of 4
(1,893 Views)
Solution
Accepted by topic author Yasaswy@2710

Hi Yasaswy,

 

you need to use both channels in one DAQmx task!

Read both pressure signals with just one VI…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(1,870 Views)

Yes i can acquire both the signals in one VI.

But, the experiments are individual so I want to control the data acquired from channels individually. 

 

As i am new to labview i am not understanding how to do it.

 

 

0 Kudos
Message 3 of 4
(1,864 Views)

Hi Yasaswy,

 

Yes i can acquire both the signals in one VI.

So what is the  problem?

 

But, the experiments are individual so I want to control the data acquired from channels individually. 

No problem:

- one VI to acuire the data of both channels from DAQ device

- two other VIs to work with individual channel data

- queues to send data from first to those other VIs

That's called producer-consumer-scheme…

 

As i am new to labview i am not understanding how to do it.

When you are new to LabVIEW you should

- take the FREE online training resources offered in the "Training" section in the header of this LabVIEW board!

- examine the example VIs you find in the example finder

- examine the example projects you find in the "New project…" dialog…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 4
(1,854 Views)