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.



如何在LabVIEW中以编程的方式发现cRIO XNET模块?



主要软件: Driver Software>>NI-XNET
主要软件版本: 1.0
主要软件修正版本: N/A
次要软件: Driver Software>>NI-XNET
硬件: CompactRIO>>Chassis (Backplanes)>>cRIO-9111, CompactRIO>>Chassis (Backplanes)>>cRIO-9116, CompactRIO>>Chassis (Backplanes)>>cRIO-9118, CompactRIO>>Chassis (Backplanes)>>cRIO-9113, CompactRIO>>Chassis (Backplanes)>>cRIO-9114, CompactRIO>>Chassis (Backplanes)>>cRIO-9112

问题:

我尝试着在cRIO在创建了LabVIEW程序,该程序用于检测cRIO机箱上的所有C系列XNET模块。然而,即使我手动将XNET模块添加至项目浏览器,我的应用程序仍然不能检测到XNET接口。



解答:

当C系列的XNET模块被使用在cRIO机箱上时,NI-XNET RT驱动与模块通信并没有自动加载至默认的FPGA VI,该VI存在在cRIO里面。在使用NI-XNET特性或实现一个XNET模块的发现程序前,您必须首先编译并运行一个FPGA VI在cRIO机箱上,该VI包含所需XNET的通信逻辑模块。

想要获得关于如何在cRIO上检测到NI-XNET C系列模块的详细指令,请参考"Geting Started with CompactRIO"里面的"NI-XNET Hardware and Software Manual ”。或者你可以使用LabVIEW的范例" Programmatic Discovery of CompactRIO XNET C Series Modules in LabVIEW”以获取能多相关资讯。

此外,通过供应商和模块ID,cRIO信息库(CRI)也可被用来检测XNET模块。但是CRI不能检测到模块的名称。



相关链接: Product Manuals: NI-XNET Hardware and Software Manual (April 2012)
Developer Zone Community: Programmatic Discovery of CompactRIO XNET C Series Modules in LabVIEW
Developer Zone Community: Reference Library for Reading cRIO System Configuration Information (CRI)

附件:





报告日期: 06/19/2013
最近更新: 07/29/2013
文档编号: 6AIJQ67C