LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Error error -200361

Hi,

I am using NI 9222 card (on cDAQ 9178 chassis) to acquire data at 500,000 samples/s (Hz) rate using NI MAX test panel (see the screen shot for settings) :

Rate: 500, 000 (Hz)

Mode: continues

samples to read: 1000 

When I try this I am getting following error  '-200361'. This happens when my computer is connected to internet through wireless internet card (Wireless internet adapter Linkysys WUSB6300 V2). 

Com

puter:  Dell precision 7820 48 GB RAM (with Windows 10 20H2)

LabVIEW version: 2020 SP1  

NI-DAQmx version: 21.3 

I was wondering is anyone has a solution to fix this issue

Many thanks.

JS

 

LV_error_1.jpgLV_error_2.jpg

0 Kudos
Message 1 of 7
(1,184 Views)

Hi Jayantha,

 


@JayanthaS wrote:

This happens when my computer is connected to internet through wireless internet card (Wireless internet adapter Linkysys WUSB6300 V2). 

I was wondering is anyone has a solution to fix this issue


When it only happens on WiFi connection: don't use any WiFi while running measurements..! 😄

 

How is the cDAQ connected? Does it use an USB connection?

What about reading larger chunks of samples, like 50k samples at 500kS/s?

What about lowering the samplerate to 100kS/s? Does the same error occur?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(1,180 Views)

USB and I tried 500 Ks/s however it did not work. When the samples rate below 100 ks/s no issue however I need to run it at 500 Ks/s

0 Kudos
Message 3 of 7
(1,174 Views)

You're reading only 1000 samples for every update, which means, the soft panel has to read/update every 20ms to keep up with the 500kS/s rate. In my opinion, anything above 100ms read rate is too fast, increasing the samples to 50,000, might solve the issue.

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 4 of 7
(1,169 Views)

[orig reply deleted -- didn't read closely enough and responded to a different error than OP actually experienced]

 

This error is outside of your direct programmatic control.  The DAQmx driver is finding itself unable to keep delivering data from your device to the task buffer at 500 kHz over the USB connection from the 9178 chassis to your PC.  Your PC should be able to support that speed, possibly by reducing the other uses of the CPU and USB ports.

   It appears that you're using a USB-based WiFi device -- it may help to move it to a different USB port, depending on which ports are ganged together on a particular motherboard hub.  It's likely you'd be using different hubs if you split up the cDAQ and WiFi connections front and back.

   I also notice several COM ports listed in MAX -- are any of these also based on USB-to-serial converters?  I'd try to get those off the cDAQ hub too, not because serial *ought* to occupy a lot of bandwidth, but because not all USB-to-serial drivers are, ahem, excellent.

 

 

-Kevin P


CAUTION! New LabVIEW adopters -- it's too late for me, but you *can* save yourself. The new subscription policy for LabVIEW puts NI's hand in your wallet for the rest of your working life. Are you sure you're *that* dedicated to LabVIEW? (Summary of my reasons in this post, part of a voluminous thread of mostly complaints starting here).
0 Kudos
Message 5 of 7
(1,149 Views)

 I tried 50,000 samples however it did not fix the error

0 Kudos
Message 6 of 7
(1,122 Views)

Back to what GerdW suggested in the very first reply -- have you tried removing the USB WiFi adapter?  What about any USB to Serial adapters?   Maybe try a fresh reboot with only a bare minimum of USB stuff plugged in, and try the front / back separation to further reduce the need for the cDAQ to share USB access.

 

 

-Kevin P

CAUTION! New LabVIEW adopters -- it's too late for me, but you *can* save yourself. The new subscription policy for LabVIEW puts NI's hand in your wallet for the rest of your working life. Are you sure you're *that* dedicated to LabVIEW? (Summary of my reasons in this post, part of a voluminous thread of mostly complaints starting here).
0 Kudos
Message 7 of 7
(1,115 Views)