LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9862 NI-XNET CAN with cRIO 9068 Chassis - Issues

I am using a NI 9862 CAN card with a cRIO 9068 chassis.  The 9862 shows up in the project window under the chassis but when I try to configure a new XNET session the hardware is not present.  How do I create a connection to the NI 9862 or get the XNET session to recogonize the card?

0 Kudos
Message 1 of 5
(5,310 Views)

The first step is to ensure that you have XNET drivers on your cRIO (this can be seen and done in MAX).

 

You can also take a look at some examples that are shipped with LabVIEW to help get you started. You can look in the NIExample Finder under Hardware Input and Output » CAN » NI-XNET » Basic or CompactRIO for some good getting started examples.

Message 2 of 5
(5,281 Views)

I believe I have the correct drivers installed in cRIO (See attached pic)

 

MAX XNET Drivers

Also, I followed the example and no devices show up (See Pic).

 

 

RT Interface.JPG

 

 

 

 

The NI 9862 shows up in the project and I have compiled a VI for the FPGA target.

 

XNET Setup.JPG

Message 3 of 5
(5,261 Views)

So I went ahead and set this up on my own 9068 and a 9866. I found that I was able to find my XNET interfaces in Scan Interface mode but not instantly in LabVIEW FPGA Interface. In order to get my XNET interface to show up while i was in FPGA Interface mode I had to deploy a dummy bitfile to my FPGA. In my case, I ran a empty while loop with a false constant wired to the stop. After I compiled and ran the dummy VI on the FPGA I was able to see my XNET interface(s) in a RT VI. I noticed that you already are deploying a bit file in the screen shot you posted. But you are also querying your XNET devices in parallel. Can you try querying your XNET devices AFTER you have started your FPGA code?

Message 4 of 5
(5,229 Views)

I think that worked:

RT Interface 2.JPG

 

 

Thanks, for the help!!!!!

Message 5 of 5
(5,219 Views)