Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9208 very slow with cDAQ9189

i have a NI 9208 as one of 8 other c's on the cDAQ 9189 - all the other are working fine with similar labview code, but for the NI 9208 (16*AI) it takes 4 seconds!!

 

i have tried with another physical NI 9208 with similar result

can someone help me out: why so slow?

JockHansen_0-1741265247847.png

 

0 Kudos
Message 1 of 5
(203 Views)

Do you know you can specify channel lists in DAQmx channel control instead of creating this array of channels?

santo_13_2-1741298084804.png

 

 

Based on the datasheet, it may be operating in high resolution mode, and since it is scanned architecture, the number of channels directly increase the overall acquisition time.

 

Assuming, 52ms conversion time x 16 channels = 832ms just for conversion, and there may be settling time in between channel switching.

 

santo_13_0-1741297904715.png

santo_13_1-1741297948273.png

 

 

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
0 Kudos
Message 2 of 5
(175 Views)

thank you for the answer. i tried what you suggest - and it gave faster read, but that way i get only one channel:

JockHansen_0-1741338621647.png

how to get all the 16 channels?

also, I think the problem is somewhere else as i have several AO's with, granted, only 8 channels each and a DO with 32 channels and all running fine - i enclose the vi for your scrutiny

you also suggest that its set to high resulution - but i could not find a place to change to high-speed. where?

 

Download All
0 Kudos
Message 3 of 5
(162 Views)

You only specified ai7. You should specify ai0:15 to select all channels.

Refer to the following links to your questions.

NI-DAQmx Syntax for Specifying Physical Channel Strings

What is the Maximum Sampling Rate per Channel in my Module?

Enable High-Speed or High-Resolution Mode for C Series Modules

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 4 of 5
(156 Views)

thanks again for reply - however, i have tried it all with no difference. in the clip i went back to the array as input as there was no luck with the suggested solution. it still runs with a 4s freq. and the other ones that you can see parts of runs very fast

 

now it looks like the red-marked.

 

did i place the property-thing correctly?

 

JockHansen_0-1741617234947.png

 

0 Kudos
Message 5 of 5
(140 Views)