Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Onboard device memory overflow

I am using two NI USB 6008 in my application. Every second I take 60 samples from 6 analog input channels on both devices. I use finite sampling and the sample rate is 1kHz. After a couple of minutes or hours I get an error:

Error -200361
Possible reason(s): Onboard device memory overflow

 

It seems to me that the devices have plenty of capacity for doing this, they're only busy sampling 60ms every second. I've checked this KB article on the error:

http://digital.ni.com/public.nsf/allkb/611475F9BE62881E86256FDC0062B1BB

and tried turning of other applications and the like, but without any sucess. The processor is constantly 95% idle and the machine I'm running on has 4GB of RAM, looks like plenty to me. The machine has Vista installed, could that be a bottleneck somehow?

 

Anyway, even if there is no easy fix for avoiding the memory overflow, I am unable to recover from it once it has happened. Unless I pull the usb-cable from the devices they will keep generating this error, even if I clean up the tasks and re-create them. I can do self-test and device reset in MAX, but even then the devices still only give the memory overflow error. To me it would be acceptable to just find a way to continue to make measurements when this error occur.

 

In summary, I have two questions:

1) Is there a way to prevent the memory overflow error to occur?

2) Is there a way to ignore the error, flush the buffer and go on making new measurements?

0 Kudos
Message 1 of 1
(2,754 Views)