Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Multi Module Simultaneous Reading

Solved!
Go to solution

Hi,

 

I'm attempting to use a cDAQ 9189 chassis with various modules (thermocouples, digital output, analog inputs). I'm running into performance issues when I start to read my tasks I made in NI MAX. I have a producer consumer setup with queues and when I read one module card of thermocouples it runs fine, once I introduce the other task with my analog inputs (0-10Vdc) signals, my program runs extremely slow. What's the best practice for completing reads from tasks and displaying them on the user interface?

 

Thank you

0 Kudos
Message 1 of 3
(116 Views)
Solution
Accepted by Hector852147

The right thing to do is to try to put all the AI channels into a single task and read them in chunks of 100ms

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(83 Views)

Thank you! I didn't realize we can group across modules as well.

0 Kudos
Message 3 of 3
(47 Views)