LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Have problems in using Labview program contains "niScope Multi Fetch" unit to sample data from PCI 5922

Dear all:
 
When I use labview sample program "niScope EX save to File" in niscope driver V3.4 to sample data from channel 0 or channel 1 or 2 channels together in PCI5922, there is always an error message:
 
Error occurred at:  niScope Multi Fetch.vi:1
<err>Driver Status:  (Hex 0xBFFA2003)
Maximum time exceeded before the operation completed.
Status Code: -200284
 
When I use other sample program without the "niscope multi fetch" unit, it works well. So I wonder how to solve this issue. Thanks for your help.
 
Regards
Cui Song
0 Kudos
Message 1 of 4
(3,088 Views)

Sounds like you are doing too much in a loop.  You must fetch samples fast enough to avoid buffer overruns.  If you save data in the sam loop as the fetch this becomes a distinct possibility, especially with more channels high acq rates.  Your fetches become large so writing to file can be slow causing your next fetch to not be in time.  Post your code or take the save out of the fetch loop and see if the error goes away.  if so, there are multithreaded workarounds.

 

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(3,078 Views)
Thanks for your suggestion, I take out the save and run the multi fetch, the problem is still there, Appreciate your help.
0 Kudos
Message 3 of 4
(3,062 Views)
Hello everyone,

This question is being addressed on the High-Speed Digitizer forum here.  On our forums, we would appreciate only posting to one thread to make it easier for future customers to search for answers.

Regards,
Paul C.
0 Kudos
Message 4 of 4
(3,035 Views)