LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I acquire the peak to peak value of an analog waveform with labview?

I have tried "Amplitude And Level Measurements" but it just spits out complete nonsense. Is there another vi that does this? 

0 Kudos
Message 1 of 4
(876 Views)

Hi crash,

 


@crash_override wrote:

I have tried "Amplitude And Level Measurements" but it just spits out complete nonsense. Is there another vi that does this? 


It really would help to attach an example VI with your example data to confirm this "complete nonsense".

All those functions provided from NI usually do what is explained in their LabVIEW help entry…

 

When you attach your VI with your example data you should also provide the expected result!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(859 Views)

On the "Amplitude And Level Measurements" VI did you modify the "state settings" input to use the "Peak" option instead of the default "histogram" option?

 

Failing that, you can always use the "Get waveform components" node to separate out the array of floating point numbers inside the waveform, and run that through the "Array Max & Min" node to get the highest and lowest values.

0 Kudos
Message 3 of 4
(849 Views)

I do not see state settings anywhere. I will try the latter option. 

0 Kudos
Message 4 of 4
(807 Views)