LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Slow loop with DAQmx read

Solved!
Go to solution

Hello,

 

I am trying to read 8 channels at once using the NI9213 and DAQmx (see image attached). With this setup, the loop takes ~500ms each iteration. What can I do to improve this?

 

Thanks,

JP

Download All
0 Kudos
Message 1 of 2
(2,353 Views)
Solution
Accepted by topic author JPunltd

You have not coded any timing so it's running at default speeds.  Look at the DAQmx examples like Thermocouple - Continuous Input.vi.  Your module even has a high speed mode you can use for really fast acquisition.  Read the manual.

 

BTW, NOT connecting your error wires WILL byte you in the butt eventually.  Always connect them so you can monitor errors while debugging.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 2 of 2
(2,334 Views)