ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200361

I am using USB 6009 with DAQmx. I am running LabView 7.0. As such my application is running fine, but when i try to open any other application , labview gives me error -200361 and application stopped running.
0 Kudos
Message 1 of 15
(4,929 Views)
Hello,

My first question is that the USB 6009 is compatible with DAQmx Base but not DAQmx. Are you actually using DAQmx Base?

The error -200361 is a buffer overflow error. This would mean that you could either read more data points off of the buffer with the "samples to read" portion of your program or put less points on the buffer each time by decreasing sampling rate.

-Alex
0 Kudos
Message 2 of 15
(4,894 Views)
I am using DAQmx Base only.

I am acquiring data at the sampling rate of 40KSa/s. I believe that this sampling rate is nothing. But even i tried with large buffer as well as i tried to decrease samping rate to 20KSa/s. But result is same. It gives me error. It run fine unless i run any other program.

I try to run example vi of DAQmx Base. Even i minimize running .vi window and then maximize it popups the error -200361.

I believe that 20KSa/s is nothing as far as speed of reading from the buffer is concern.

Can you please tell me USB 6009 is optimize for which samping rate and buffer size ?. What ever parameter i set it gives me error. In my application i want to acquire data at 40KSa/s.

Thanks
0 Kudos
Message 3 of 15
(4,881 Views)
Here is the strict defintion of the error:

"Onboard device memory overflow. Because of system and/or bus-bandwidth limitations, the driver could not read data from the device fast enough to keep up with the device throughput.

Reduce the sample rate, or reduce the number of programs your computer is executing concurrently."

While the USB 6009 is capable of reading at up to 48Ks/s, your system must be able to keep up with the transfer rate as well, which is evidenced by the fact that you run into this error only when you open another program. The things you can try are minimizing the number of programs you have running while you're doing the acquisition, increasing your RAM, using another PC with better system resources, or of course don't open any other programs while you're doing the acquisition.

-Alex
0 Kudos
Message 4 of 15
(4,860 Views)
Thanks for your reply

I have tried on another computer which is a latest Pantium 4 computer with 512 MB RAM.

Error comes not only when i run any other program, but even if i minimize the running vi windows or maximize running vi windows.

-Gaurav
0 Kudos
Message 5 of 15
(4,855 Views)
You are using a USB 2.0 bus correct?

Also, did you start with an example program or write one of your own?
0 Kudos
Message 6 of 15
(4,834 Views)
I am using USB 2.0 only and try to run example program. I have not run my own program. I try to run following example program.

Cont Acq&Graph Voltage-Int Clk.vi

-Gaurav
0 Kudos
Message 7 of 15
(4,826 Views)
This is getting tricky! Can you monitor the CPU usage before you start the acquisition and when you start it and let me know what you see? This really shouldn't be happening unless the CPU is somehow bogged down with outside tasks.

-Alex
0 Kudos
Message 8 of 15
(4,817 Views)
Also, I just set this system up myself to test... LV7.0, USB 6009, and that program both with finite and continuous readings and cannot reproduce the error, open and closing as many programs as I can and can't get it to bog down or produce the error. Let me know what your CPU usage does.
0 Kudos
Message 9 of 15
(4,815 Views)
Before running my application it was just 0 to 5 % usage. After running my application i have observed that CPU usage is between 10 to 25 %. But not more than 25%.

I have tried to increase the buffer as well as samples per channel parameters also but still error is there.

Is there any hardware problem with 6009 ?.

Please let me know, what else i am try out.

- Gaurav
0 Kudos
Message 10 of 15
(4,787 Views)