How Do I Perform a Loopback Test with NI-XNET Device?

Updated May 2, 2018

Reported In

Hardware

  • CAN Interface Device

Driver

  • NI-XNET

Issue Details

  • I want to test my NI-XNET card to see if the ports are working correctly.  Is there a loopback test I can perform?
  • I have a two-port XNET device. Can I use one of the ports to listen to the other?

Solution

Unlike with serial boards, a loop-back cannot be performed on the same port. However you can perform a loop-back test using the the Loopback Test.vi that can be found through the Example Finder.  This VI works with any XNET device. To perform a loop-back test on your NI-XNET device, follow these instructions.
  1. Connect the 2 ports of your NI-XNET device together using an appropriate cable
  2. Open LabVIEW and select Help » Find Examples...
  3. Next navigate to the Search tab and search for Loopback.
     4. Open this CAN Loopback Test.vi and run the program. 

WAS THIS ARTICLE HELPFUL?

Not Helpful