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.



为什么我在MAX下会有两个CAN卡重名?



硬件: Industrial Communications>>CAN>>NI PXI-8512 CAN/HS1, Industrial Communications>>CAN>>NI PXI-8511 CAN/LS2, Industrial Communications>>CAN>>NI PCI-8513 CAN/XS1, Industrial Communications>>CAN>>NI PCI-8511 CAN/LS2, Industrial Communications>>CAN>>NI PXI-8513 CAN/XS1, Industrial Communications>>CAN>>NI PXI-8511 CAN/LS1, Industrial Communications>>CAN>>NI PXI-8513 CAN/XS2, Industrial Communications>>CAN>>NI PCI-8512 CAN/HS1, Industrial Communications>>CAN>>NI PXI-8512 CAN/HS2, Industrial Communications>>CAN>>NI PCI-8511 CAN/LS1, Industrial Communications>>CAN>>NI PCI-8512 CAN/HS2, Industrial Communications>>CAN>>NI PCI-8513 CAN/XS2

问题: 我在MAX检测到存在有两块同样名字的CAN卡,我应该如何在应用中使用这两块同样名称的CAN卡?I

解答: 以下情况都有可能导致2块不同的CAN卡在MAX中同名的现象出现。在上述图像当中,名为CAN1的卡是在传统NI-CAN接口下,它使用的是NI-CAN的驱动。而在底部的CAN卡(同样名称为CAN1)它在NI-XNET接口下,使用的是NI-XNET驱动。如果您想在上面的CAN卡上进行编程,您需要使用NI-CAN对其进行编程,而如果您想使用底部的卡进行编程,则需要使用NI-XNET下的函数对其进行编程。

相关链接: Developer Zone Tutorial: Migrating NI-CAN Applications to NI-XNET

附件:





报告日期: 11/04/2009
最近更新: 06/09/2011
文档编号: 533ECDOH