怎样将E系列的PCI DAQ板卡和PCI-6553或者6534同步?
主要软件:
主要软件版本: 7.2
主要软件修正版本: N/A
次要软件: N/A
硬件: Multifunction DAQ (MIO)>>E Series>>PCI-6071E, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-6534, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-DIO-32HS-T, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-6533
问题: 我想将E系列的基于PCI总线的DAQ板卡的模拟输入和6533或者6534的模式生成(pattern generation )。我如何调用NI-DAQ相关函数实现这个功能?
解答: 完成如下步骤:
使用RTSI线缆连写两个数据采集(DAQ)设备。
将E系列板卡的扫描时钟通过RTSI总线传输到6533或者6534。
对6533或者6534进行相应的配置使其能够使用该外接时钟来进行模式生成。如下的代码范例即是同用在RTSI总线上传递的信号。
/* Move the AI Scan Clock from the E Series Board onto RTSI Line 0 */
Select_Signal (1, ND_RTSI_0, ND_IN_SCAN_START, ND_LOW_TO_HIGH);
/*Because the Select_Signal ( ) function will not work with the 6533 or 6534, we must use the RTSI_Conn( ) function to connect RTSI Line 0 to REQ1 on the 6533 or 6534 (external clock)*/
RTSI_Conn (2, 0, 0, 0);
如果你正在使用NI-DAQ6.9.x或之前版本,参考NI-DAQ函数参考帮助得到关于Select_Signal()和RTSI_Conn()函数的更多信息,该帮助可以通过开始》程序》National Instruments获得。如果你正在使用NI-DAQ7.0或者之后版本,参考传统NI-DAQ函数参考帮助,该帮助可以在开始》程序》National Instruments》NI-DAQ获得。
相关链接: KnowledgeBase 14I87AG7: Retriggerable Pattern Generation with the NI 6533 or NI 6534 Digital IO Board
KnowledgeBase 2Q9L1M2O: Error -10800 While Doing Multi-Board Synchronization (E Series Card, PCI-653x)
附件:
报告日期: 04/25/2003
最近更新: 11/29/2011
文档编号: 2WOGJRY1
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.