LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

波形のある点からその座標を求める方法

現在、1周期のSin波のような正と負に山が二つある1次元波形の半値幅を出そうとしております。

 

Sin波のような波形なので、正の山(負の山)の半値といった場合に山を登るときと降りるときの2点が出ると思います。

それらの外側の点だけを取り出して幅を求めたいと考えております。

波形の最大値と最小値の半値を出すことは容易なのですが、そこから、最大値(最小値)から求めた半値と波形と近い値を探してその位置の座標を出す方法が分かりません。

 

波形自体も完全な対象というわけではないので最大値の半値が内側に存在している可能性があるなど作成に困っています。

0 Kudos
Message 1 of 2
(839 Views)

Hi Shuya,

 


@Shuya_Hello wrote:

Currently, we are trying to obtain the half-value width of a one-dimensional waveform with two positive and negative peaks, such as a sine wave of one cycle.

 

Since the waveform is like a sine wave, in the case of the half value of a positive mountain (negative mountain), I think that there are two points when climbing and descending a mountain.

We want to find the width by extracting only those outer points.

It's easy to get the half value of the maximum and minimum values of the waveform, but I don't know how to find the half value obtained from the maximum (minimum) value and the value close to the waveform and get the coordinates of that position. .

 

Since the waveform itself is not a perfect target, there is a possibility that the half value of the maximum value exists inside, so it is difficult to create.


It really helps wheny ou write English messages in the English forum. (Otherwise there is a Japanese regional board…)

 

When you have problems with your waveforms then it also helps when you attach a VI with typical data included (as default data)! Then again: it helps when you use English labels for all frontpanel elements…

Best regards,
GerdW


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