LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multifetch: How can I save recorded waveforms after timeout?

Hi, I have a data aquisition witch the "NIScope Multifetch.vi". I fetch n records of 2 channels of the Digitizer pxi-5114 at one measurement. The datarate is different, so sometimes the timeout occurres. In this case all sampled datas from this measurement are deleted. My question: How can I get the Multifetch-vi to give me the partial datas? Thanks!
0 Kudos
Message 1 of 3
(2,531 Views)

Dont you feel it is better to save the data anyway. You can retreive the data later ?

0 Kudos
Message 2 of 3
(2,522 Views)

Instead of using a fetch with a timeout, try polling for the driver status.  Fetch only when everything is available.  I believe you can use NI-SCOPE properties to set a subset of data for fetching, so you can also fetch pieces while other pieces are being acquired.  However, I am away from my development machine at the moment, so cannot give you specifics.  Look for "fetch forever" examples in the NI-SCOPE examples.

 

Good luck.  Let us know if you need more info.

0 Kudos
Message 3 of 3
(2,519 Views)