なぜ MAX に、2つの同じ名前の 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 に同じ名前の 2 つの CAN インターフェースがあるのですが、どちらのインターフェースを使えば良いのでしょうか。
解決策: MAX で2つの異なる CAN インターフェースが、同じ名前を持つことは可能です。下図の上部にございます、CAN1 は、NI-CAN レガシーのインターフェースで、 NI-CAN ドライバを使用します。 一方、下部にございます、CAN1 は NI-XNET のインターフェースで、 NI-XNET のドライバを使用します。 上部のインターフェースを使用したい場合は NI-CAN の API でプログラムを構築する必要がございます。 そして下部のインターフェースを選んだ場合は、NI-XNET の API を使用する必要がございます。
関連リンク: Developer Zone Tutorial: Migrating NI-CAN Applications to NI-XNET
添付:
報告日時: 11/04/2009
最終更新日: 06/23/2010
ドキュメントID: 533ECDOH
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.