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.



为什么我的DSA设备持续返回10.0到10.6 V的信号?



硬件: Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4472

问题: 我在使用NI动态信号采集(DSA)设备从加速计、麦克风或其他传感器采集IEPE电流激励。我读不到任何有用的数据,只能看见一个保持在最大输入值10.0到10.6 V的恒定直流信号。怎么解决这个问题呢?

解答: 如果使用IEPE激励,一定要将采集有用数据的通道设置为AC耦合。IEPE会产生一个大的DC电流,在大多数传感器中这将会产生一个大的直流偏置从而影响了我们感兴趣的AC数据。AC耦合可以过滤掉DC偏置。

使用Traditional NI-DAQ API启用AC耦合

在LabVIEW中使用Traditional NI-DAQ API来设置AC耦合时,需使用AI Config VI上的Coupling and Input Config接线端。

用Traditional NI-DAQ文本程序的API来设置AC耦合时,需调用下面的函数:
status = AI_Change_Parameter (deviceNum, chanNum, ND_AI_COUPLING, ND_AC);

如果chanNum的值设为"-1",将会在所有的输入通道启用AC耦合。

使用NI-DAQmx API启用AC耦合

使用NI-DAQmx API来设置AC耦合时,可以使用一个NI-DAQmx Channel Node并选择AI.Coupling属性,该属性位于Analog Input » General Properties » Input Configuration » Coupling。将属性节点由写入转为读取,然后为其输入端创建一个常量,并选择AC作为输入值,如下所示。



相关链接: KnowledgeBase ID 31GA9M2L. How Do I Control Integrated Electronic Piezoelectric (IEPE) Excitation on my NI 4472 Device from the NI-DAQ Traditional Text API?
KnowledgeBase ID 3GEF55NQ. How Do I Enable IEPE Excitation on My DSA Device in DAQmx?

附件:





报告日期: 11/03/2003
最近更新: 11/16/2007
文档编号: 332AN12L