02-04-2010 01:38 PM
For a PXI-5142 digitizer,
I have implemented some sample code using simulation drivers (in C), it runs smoothly with simulation but when I run my program with actual hardware after some time I get this error in NI SPY:
> 2238. niScope_FetchComplexBinary16 (Digitizer, "0", 0, 256, {0x0000,0x0000,...}, {0x00,0x00,...})
> Process ID: 0x00000B98 Thread ID: 0x00000BC4
> Start Time: 12:18:05.062 Call Duration 00:00:00.063
> Status: 0xBFFA4018
And the description is :
The requested data has been over fetching.
Status Code: -200004
1- What does over fetching mean? Am I fetching too fast or too slow? Is this a warning or an error?
2- Where can I find a document describing all possible error messages for different devices (PXI-5142, PXI-5600, PXI-5441, PXI-5610, PXI-5611, PXI-5450, and many other that we have) with more detail?
Thanks in advance
02-05-2010 03:55 PM
Hello dashesy
I have a couple of questions
1. Do you get any scope errors when you close NI-spy and run your program.
2. Can you increase your sample rate and increase the samples read per fetch.
You could get SPY errors but it mightbe handled by the NI-Scope driver hence I want to make sure that you are receiving all the data correctly.
NI-khil
03-18-2010 02:24 AM
Hi dashesy,
You will get this error when the data requested has been overwritten in the device memory. when Onboard device memory overflows. 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 your sample rate, alter the data transfer method (from interrupts to DMA), use a product with more onboard memory, or reduce the number of programs your computer is executing concurrently.
Hope this helps,
sunil