LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to input distance between two points on a waveform graph onto a numeric indicator?

Hi all,

 

In my program I need to manually input the distance between two points on a waveform graph into a numeric control, which is used in an equation. The wave changes constantly and I was wondering if there Is anyway to record that distance automatically? Thanks

0 Kudos
Message 1 of 4
(3,189 Views)

Hello,

Are you making the measurements in real time or saving the waveform file and later on measuring the parameters.? If the second one is the case you can just employ a time stamp marker in the acquisition vi of yours and extract it later on and calculate the difference automatically. It would be easier if you post your vi. so that i can make it clear.

 

Best regards,

Nitzy

0 Kudos
Message 2 of 4
(3,177 Views)

Hi David,

 

maybe you should define "distance" more clear???

Distance in

- x-direction (time?)

- y-direction (amplitude?)

- both directions (vector? in real units or in pixels?)

 

Do you want to calculate the (main) frequency of your waveform?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(3,164 Views)
I want to acquire the data in real time. The distance is measured in time. Here is a copy of my program. My waveform is coming from Ni-Scope. Thanks
0 Kudos
Message 4 of 4
(3,147 Views)