From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ni-usb6002 周波数取得

Solved!
Go to solution

NI-USB6002で、周波数を測定する方法はありますか?

カウンタが使えそうだと思っているのですが、どのように処理を書けば良いかわかりません。

0 Kudos
Message 1 of 4
(608 Views)

Hi kk,

 


@kk5 wrote:

Is there a way to measure frequency with the NI-USB6002?

I think that a counter can be used, but I don't know how to write the process.


The USB6002 offers a counter so you can measure a frequency.

LabVIEW+DAQmx come with a ton of example VIs in the example finder: there surely are VIs explaining how to measure frequencies…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(563 Views)
Solution
Accepted by topic author kk5

アドバイスありがとうございます。

 

以下の方法で、カウンタ値から、周波数値を算出できそうです。

①任意の時間間隔で、カウンタ値を取得する。

②現在の周期までに取得したカウンタ値から、前回周期までに取得したカウンタ値を減算する。

③1秒毎のデータに変換する。

周波数データ算出


Thank you for your advice.

It seems that the frequency value can be calculated from the counter value by the following method.
(1) Get the counter value at any time interval.
(2) Subtract the counter value obtained in the previous cycle from the counter value obtained in the current cycle.
(3) Convert to data every second.

Frequency data calculation

0 Kudos
Message 3 of 4
(484 Views)

アドバイスありがとうございます。

以下の方法で、カウンタ値から、周波数値を算出できそうです。
①任意の時間間隔で、カウンタ値を取得する。
②現在の周期までに取得したカウンタ値から、前回周期までに取得したカウンタ値を減算する。
③1秒毎のデータに変換する。

周波数データ算出

 


Thank you for your advice.

It seems that the frequency value can be calculated from the counter value by the following method.
(1) Get the counter value at any time interval.
(2) Subtract the counter value obtained in the previous cycle from the counter value obtained in the current cycle.
(3) Convert to data every second.

Frequency data calculation

0 Kudos
Message 4 of 4
(484 Views)