LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i want to store all received signal in array

I transmit signal to USRP and recieved it several times i want to store all elements i received in array and take from this array the one transmitted signal  ex: transmitted signal [ 1 -1  3  4] recieved signal [1 -1 3 4 1 - 1 3 4 1 -1  3 4] and i want to take from this array [ 1 -1 3 4 ]

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

Once you have a normal data array, you can use the array subset.vi to take any section of the array that you want to.  I'm a little confused as to how you are using the build waveforms.vi.  You are wiring the old waveform to to the 'Y' input instead of the 'waveform' input, which is what I think you should be doing.  To get a normal array (non waveform data type) either change your fetch function to return doubles, or use 'get waveform components' to separate the Y data from the waveform data type.

------------------------------------------------------------------------------------------

Jon F.
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,872 Views)