LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time reverse acquired waveform

Solved!
Go to solution

Hello all first time posting here. 

 

I am using LabVIEW NXG 3.1 and a USB-6356 DAQ. 

 

After acquiring a waveform (voltage measurement) I would like to time reverse it such that it begins with the final value and then perform a convolution with another waveform.

 

Which is the most efficient way of compmputing this? 

 

I have tried negating the dt values but then convolution is not permitted due to different dt values between the two input waveforms.

 

 

0 Kudos
Message 1 of 3
(2,733 Views)
Solution
Accepted by topic author RodosC

I've not ventured into NXG, but in classic LabVIEW I'd take the waveform, unbundle the data array, reverse it, and rebundle it into the original waveform.  It'd look like this:

 

reverse waveform.png

 

(Reversing an array that goes right back where it came from won't generally shuffle the data values around in memory.  The "reversal" is handled via internal descriptors that can designate things that start, end, stride or something equivalent.)

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Message 2 of 3
(2,680 Views)

Hello Kevin, 

 

I have tried your method in LabVIEW 2019 and used the "Convert Standalone VI" function in LabVIEW NXG to import it and it worked! 

 

Thanks!

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