使用USB-6008與Event架構量測週期
硬體: Multifunction DAQ (MIO)>>Portable>>USB-6008
問題: 我可以利用USB-6008的counter量測訊號的周期嗎?
解答: 6008擁有32 bits解析度,只能使用event架構量測週期(因為它沒有gate)。這表示週期/頻率無法直接在硬體量測。
利用軟體的方式,兩個event量測時間週期,使用shift register記錄計數器(counter)值並記錄起始時間與目前時間以換算相對應的週期。
這個方法只適用於量測低頻訊號(<50Hz)
注意:Timer ms VI使用32 bits資料型態,當值大於最大值時會歸於零,有可能會影響實際記錄值。可以寫個小程式驗証此現象。
相關連結:
附加檔案:
- 6008 period measuremet using events.vi
報告日期: 05/27/2005
最後更新: 06/06/2005
文件偏號: 3LQ5QTGP
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.