Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200361 on a PXIE-6396 Card

I have a PXIe-6393 in a PXIe-1090 chassis. I want to read 8 ai channels at 14 MS/s however when I try to do so I get error -200361 (buffer overflow).  The chassis is connected to a computer via usb-c. If I reduce the sample rate to 1 MS/s I do not get the buffer overflow.

 

Is this card not rated to sample 8 channels simultaneously at 14 MS/s or am I making some sort of error? 

0 Kudos
Message 1 of 5
(835 Views)

Without looking at your implementation using DAQmx, I cannot comment if it is a hardware limitation or software inefficiency/bug.

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
(829 Views)

The implementation is attached. 

 

Block1.PNGBlock2.PNGWindow.PNG

0 Kudos
Message 3 of 5
(826 Views)

Try the steps in Error -200361: Buffer Overflow Error

Understanding and Avoiding NI-DAQmx Overwrite and Overflow Errors

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 4 of 5
(824 Views)

Yes, definitely looks like a software implementation issue.

 

You should not be logging to file within the read loop as it slows down the rate at which you can read data. Moreover, you need to read 0.1s worth of samples for every loop and not a fixed amount.

 

Ideally use the DAQmx TDMS logging to log a file with no additional effort, or look at producer consumer architecture to acquire data in producer loop and log in the consumer loop.

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 5 of 5
(794 Views)