在同一通道上使用模拟触发条件中的开始触发和参考触发



主要软件:
主要软件版本: 8.0
主要软件修正版本: N/A
次要软件: N/A
硬件: Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4461, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4462, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4471, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4472, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4474, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4471, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4472, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4474, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4461, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4462

问题:
我使用的数据采集卡是PXI-4461,驱动是NI-DAQmx,我尝试在同一模拟通道上设置两个不同的触发条件:开始触发和参考触发,可是在配置过程中,我不能为不同的触发条件设置各自的触发沿类型,触发沿类型最终与参考触发的触发沿类型相同(最后配置参考触发)。这是什么问题呢?如何解决呢?

解答:
从硬件角度来说,您这样做是不可能的。驱动程序本应该对此种情况给出错误提示,但实际上它采取了最后设置有效的策略。由于每个板卡上仅有一个触发电路,您可以将模拟触发电路的输出用于多种用途(例如,开始和参考),但对所有触发事件来说,触发条件的设置必须是一致的。这就是为什么模拟触发可以同时以开始触发和参考触发的形式进行工作但只能设置一种触发条件。对数字触发来说,硬件支持您在设置开始和参考触发时有不同的极性选择。这就是为什么数字触发中的开始触发和参考触发可以使用不同的边沿。您也不能将数字触发作为一个触发的触发源,模拟触发作为另一个触发的触发源(驱动程序会对该情况给出错误提示)。其原因是在板卡仅有一个数字触发源端口,这个数字触发源端口要么作为模拟触发电路的输出,要么作为PFI0。

综上所述,您不能为多个模拟触发但可以为多个数字触发设置不同的触发条件。

相关链接:
Drivers and Updates: NI-DAQmx Driver Download Page

附件:





报告日期: 10/05/2006
最近更新: 10/09/2006
文档编号: 3VOL7NKQ