LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

most efficient coding method to get from WFM Digital to Timestamp Array and Channel Number Array - Earn Kudos Here !

I'm Fetching data from a digitizer card using the niHSDIO Fetch Waveform VI.  After Fetching the data I want to keep the Timestamp and Digital Pattern which I'll stream to TMDS file.

 

Multi Record 1D WDT.jpg

What is the most efficient method of striping out the Arrays I'm interested in keeping?

 

The attached VI shows the input format and desired output.  The Record Length is always 1.  I'll be streaming 100,000+ records to file using a producer-consumer architecture with the consumer performing a TDMS write.

I'm assuming only the WDT Fetch gives you the time from t0.

 

 

0 Kudos
Message 1 of 2
(2,320 Views)

Hi bmann2000,

 

I'm not sure about efficiency but this method definitely works. I've just used a 'Get Digital Waveform Component' function and the 'Digital to Boolean Array' function.

 

Hope this helps.

 

Chris

National Instruments - Tech Support
Message 2 of 2
(2,289 Views)