LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to Convert from Waveform or Array of Waveforms to an Array in Labview 6i

I am currently using the AI hardware trigger VI to do a data collection scheme. The sub VI outputs an array of waveforms, the trigger waveform and the signal waveform. I need to get the signal waveform into a regular array (2D?) so that later portions of the program can read the array in. I know this is very easy in version 8.0 but 6i is what I have to work with.

What I am trying to do is have the subvi generate a single column of data points of a known length and after each trigger have the program add another column to the array. At the end a seperate program will go through and average each row.

Attached is the program which has been written so far.
0 Kudos
Message 1 of 3
(2,742 Views)

It's no different in 6.0 than in 8.0. From an array of waveforms, if you only want the y data from a single waveform, use the index array and then Get Waveform Components (Waveform palette) as shown below. You also have the option of returning just a scaled array from the AI functions. Right click on the AI function you are using and you should be able to select Type>Scaled Array.

Message Edited by Dennis Knutson on 07-10-2006 09:16 AM

Message 2 of 3
(2,729 Views)
Thank you,
I believe that has fixed my issue. The concept I missed was the ablity to change which component was being extracted for the Get waveform component function.

Christian
0 Kudos
Message 3 of 3
(2,718 Views)