05-28-2015 05:22 PM
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
06-01-2015 05:20 AM
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.
06-03-2015 06:03 PM
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