ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading multi data at the same time

Solved!
Go to solution

I am beginner in Labview,  I trying to read two input analog voltage from NI USB6001. but unfortunately, I trying use "while loop" or without "while loop" I still unable to read both data at the same time. only one input data able to read only. hope can get some help /guide how to do solve this ..

 

NeeHeng_0-1662124718495.png

 

 

0 Kudos
Message 1 of 4
(2,471 Views)
  • Create a task that contains both inputs.
  • Define the loop timing if doing software timed acquisition.

(Sorry, I don't have access to LabVIEW 2021 at this moment, so I cannot look at your VI in detail)

Message 2 of 4
(2,460 Views)
Solution
Accepted by NeeHeng

Hi Nee,

 

try this:

It incorporates both suggestions by Altenbach…


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 4
(2,442 Views)
Solution
Accepted by NeeHeng

Also be aware that "at the same time" is a bit vague. You don't have simultaneous sampling hardware (details), so there will be a microscopic time difference between channels. Probably completely irrelevant for what you are trying to do. 😄

Message 4 of 4
(2,434 Views)