07-15-2019 06:54 AM
I am using NI CAN 8502 2 port unit for my project.i installed NI CAN 8502 driver.
i want to read data on one port and write data through other port meaning i am reading data from one control unit and writing data to other control unit. all the examples are in XNET. can some one suggest me how to proceed. i am very much new to this.
07-15-2019 08:44 AM
The NI 8502 is meant to be used with the NI XNET driver. The NI XNET driver is the NI API for several protocols, including CAN and LIN.
Ensure you have NI-XNET installed, and then you can start with one of the NI XNET examples (located in LabVIEW under Help >> Find Examples >> Hardware Input and Output >> CAN >> NI-XNET). The CAN Loopback test is a good place to start to see a basic read and write with NI-XNET and to test your CAN termination. After that, the Intro to Sessions folder contains many good examples for getting started.
Getting Started with the NI-XNET API for LabVIEW: http://www.ni.com/product-documentation/12375/en/
Hope this helps!
R Dahlman