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.



NI 9234 有效的取樣頻率



硬體: CompactRIO>>Analog Input Modules>>NI 9233, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>USB-9233

問題:
我的應用是做聲音訊號的擷取. 當我將 NI-9234 的取樣頻率設定為44.1kHz時, 實際的取樣頻率卻被強制改為50kHz. 什麼是 NI-9234 有效的取樣頻率?

解答:
NI-9234 有效的取樣頻率是依照下列的公式:
Fs = 100kS/s / N, 其中N是整數 2, 3.
Fs = 50kS/s / N, 其中N是整數 2..25.

如果指定的取樣頻率不符合這些值,則取樣頻率將被強制設為下一個最接近的有效值。如何決定您裝置實際取樣頻率的相關資訊,可參考下面知識庫的連結

只要不超過 NI-9234 最大的取樣頻率(50kS/s),特定的取樣頻率可以透過軟體的方式來達成。

在擷取訊號之前,LabVIEW 可以透過 Resample Waveform (Continuous).vi 來改變取樣頻率。





這個 VI 需要波形格式的輸入訊號、期望的取樣週期(1/期望的取樣頻率)以及內插的方法(建議使用Spline內插法)。在下面 Developer Zone 中的範例程式,說明另一種實現重新取樣的方法。

相關連結:
KnowledgeBase 39BCDJMV: Determining the Actual Sample Rate of an Acquisition in NI-DAQmx
KnowledgeBase 27R8Q3YF: How Is the Actual Scan Rate Determined When I Specify the Scan Rate for My Data Acquisition?
Product Page: NI USB-9234
NI Developer Zone: Converting Waveform Sampling Rates

附加檔案:


img.JPG - img.JPG


報告日期: 12/21/2005
最後更新: 12/30/2011
文件偏號: 3SKAB1LA