10-16-2012 03:36 AM
I'm using cRIO with a NI 9862 CAN card installed. Module is displayed in the project profile under FPGA hardware, but still
unable to interface with the device. I have applied 24 VDC power to module as well. Tried to use xi net example code to
create a session, and read CAN data from a CAN based actuator that was connected to the cRIO, but no luck. I do not get the LEDs on the NI 9862 to illuminate. Another indication that I may have a hardware issue is that when I try to create a new xnet session, the interface block shows a message that interface not detected with hardware. Seeking tips to resolve this issue.
10-17-2012 03:29 PM
Hello LBM,
I have been working with one of my colleagues, Tanner, who I believe you have also been speaking with regarding this issue. As for the example being used to test the simple CAN read/write functionality, the solution to fixing this shipping example is to add in an Open FPGA VI Reference at the beginning of this code, create a path to the FPGA VI (which has to have been compiled previously), wire this through the For Loop (choose "Last Value" as opposed to the auto indexing), and then use the Close FPGA VI Reference. This will allow the VI to know access the hardware by establishing a path to the FPGA VI.