Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

digital waveform - extracting lines 0-7

I am having trouble stripping out the sepearte line from a 9401 cdaq card in  DAQ-9172 chassis. I have attached the vi I am using and can get the seperate line to display on a graph but can't strip each one out. I want to run each line through a dac and use single tone on the analog waveform to get the frequency of each.

0 Kudos
Message 1 of 3
(6,244 Views)

Simply use the index Waveform.vi function.  you wire in the array of waveforms that comes out of the DAQmx Read and specify a given index (whether you want the first, second third waveform) and the output is a single waveform corresponding to the channel you specified.

 

This function can be found: Functions >> Programming>> Waveform >>Index Wameforms.vi

 

Please see attached VI to see how this can be implemented. 

Thank you 

Charley Dahan

Global Account Manager
0 Kudos
Message 2 of 3
(6,232 Views)

Thanks but that doesn't work. It still does the same as my original. All lines come out on waveform 0. They all show up in the first index. I want to strip out any of the 8 lines from the waveform.

 

0 Kudos
Message 3 of 3
(6,228 Views)