Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Scope BinaryAcquisition Error BFFA2003

Hi,

I have a novice question - I am working with NI Scope on Scientific Linux 6 and am trying out some of the example programs. When I go into the BinaryAcquisition directory and run the executable called a.out, if I run this with the computer just rebooted, I get a 'Acquisition successful!' message. However, the second time I do it, I get the error message:

'Error BFFA2003 occurred at niScope_FetchBinary8. Possible Reasons: Maximum time exceeded before the operation completed.'

Other programs still work, such as the example program SaveToFile; trying out FetchInChunks and MultiRecordFetchMoreThanAvailableMemory fail with similar errors 'Error BFFA2003 occurred at niScope_Fetch'.

I tried changing the timeout to 10 seconds in GenericBinaryAcquisition.c (located in the common directory), but the failure persisted after remaking and running a.out. I'm not quite sure what to do next - have other people encountered this before?

Thanks,

amalagon

0 Kudos
Message 1 of 3
(4,304 Views)

Hi,

If you do not change nothing in example source code, the measurement waits for trigger signal, which is configured as rising edge on channel 0.

I think you didn't connect start pulsu to channel 0.

Change Trigger Source parameter in niScope_ConfigureTriggerEdge function to NISCOPE_VAL_EXTERNAL and connect trigger signal to trigger input or use niScope_ConfigureTriggerImmediate function for immediate sampling.

It will be good to decribe what signals you have actually connected.

Message 2 of 3
(3,771 Views)

Hi mig-31,

Thanks! You were absolutely right - it was waiting for a trigger signal which I hadn't connected. I plugged in a trigger signal and now everything seems to be working just fine.

Thanks!

amalagon

0 Kudos
Message 3 of 3
(3,771 Views)