Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200361

Given that you've tried this on 2 PC's and are using an example program, you may need to call and speak to an applications engineer to discuss the possiblity of a hardware problem. You should be able to use (866) 275 6964.

-Alex
0 Kudos
Message 11 of 15
(1,571 Views)
I have got another USB 6009, but result is same. I got error -200361 when i mimize and maximize the application windows While my cpu usage is just 21% maximum.

If i don't disturb the application windows, it works fine fore ever without giving any error. But when i run any other application or any just refresh the application windows by puting another application on it, it gives me error.

Please note that i am trying with example .vi only and with sampling rate of 20KSa.

Please suggest me what am doing wrong ?.
0 Kudos
Message 12 of 15
(1,552 Views)
Hi,

I've seen cases where DAQ systems were running very close to the edge. So close that even the slightest movement of a window or opening an application would cause a buffering error. I'd be very interested in seeing your code. When you post your code, be sure to tell us what values you are using for the front panel inputs.

I can run your code over here and see if I get the same result.

-Sal
0 Kudos
Message 13 of 15
(1,532 Views)
Here i have attached code which i am using for testing USB-6009.

All the parameters are default. Please have a look into it.

Thanks

-Gaurav
0 Kudos
Message 14 of 15
(1,515 Views)
Gaurav,

This behavior you are experiencing is a result of a combination of factors. 1) The 6008/9 has a very small onboard FIFO. 2) NI-DAQmx Base is a driver written in the user level. 3) Communication with the device is message based over USB which is inherently slower than equivalent communication over PCI. Since NI-DAQmx Base is written in LabVIEW, it has user level priority and CPU allocation. If the operating system is busy with other user level operations, NI-DAQmx Base can get starved of resources so that it cannot request data from the USB device fast enough. Since the USB-6008/9 has a relatively small onboard FIFO, it does not take long for the FIFO to overflow if you are acquiring at a high rate. Unfortunately, the operations you mentioned (e.g. opening other programs, minimizing/maximizing windows) are very CPU intensive, especially with Windows OS. Therefore, when you perform these operations, NI-DAQmx Base cannot retrieve data from the device, the FIFO overflows, and you get the -200361 error. The best solution, currently, is to minimize all other operations on the computer in order to prevent this potential starvation of NI-DAQmx Base. We are investigating other solutions that may be available in future versions, including providing driver support in the kernel level to prevent this kind of resource starvation.
0 Kudos
Message 15 of 15
(1,509 Views)