Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1074384758 with cRIO-9035 and NI-9860 with 2 X TRC-8542 CAN HS/FD Transceiver Cables

Solved!
Go to solution

Error -1074384758 (The interface name given does not specify a valid and existing interface) is returned by XNET Create Session.vi when I run the attached VI. Both CAN interfaces can be seen in MAX and also in XNET I/O Interface. Self testing of the NI-9860 in MAX returns no errors:

NI-9860 in MAX.pngNI-9860 XNET interface.pngXNET CCP Example Error.png

The same example works perfectly if I use NI-9862. The idea is to replace 2 X 9862 that we are using in a working project with a 9860. I tried to reinstall the software on the target but with same results.

LabVIEW 2015 SP1, NI-RIO 17.0, XNET 17.5, NI-9860 F/W Vrs: 16121412

Lucian
CLA
0 Kudos
Message 1 of 8
(5,489 Views)

Hi LucianM,

I would fully expect the 9860 to be interchangeable with the 9862. In fact, I am able to run the attached sample code without any issues on a 9860.

 

When you swap out the 9862 with the 9860, do you perform a chassis reset or take any other actions to ensure we are working with the cRIO in a known state?

Jeff L
National Instruments
0 Kudos
Message 2 of 8
(5,459 Views)
Solution
Accepted by LucianM

After contacting NI support we concluded that the module was defective. Replacing it solved all the problems. The module is now sent to NI for repairing.

Lucian
CLA
0 Kudos
Message 3 of 8
(5,424 Views)

Hello LucianM, I‘ve got a new CRIO equipment NI 9047 with  C series  module NI 9860. I have installed LV 2018, real-time2018, FPGA 2018, compact RIO driver 2018 and NI-XNET all successfully. My MAX can identify NI 9860 already, but how could I add "NI-XNET interface CAN1" and "NI-XNET interface CAN2" in devices and interface tree like yours.

Capture.PNG

Could you please show me the operation entrance at you convince . I'm looking forward your reply being appreciate.

0 Kudos
Message 4 of 8
(4,082 Views)

Hello Jessie9527,

 

I don't remember doing anything special. I'm working from home these days and I don't have access to any cRIO or modules so I cannot check anything. I think that if the TRC cables are connected and the module is supplied properly you should be able to see the interfaces in MAX. I would also make sure that the XNET driver version is compatible and firmware on the module is the latest (from what I remember, firmware could also be updated from MAX).

Lucian
CLA
0 Kudos
Message 5 of 8
(4,075 Views)

Jessie9527, I have the same question. Were you successful in getting the "NI-XNET interface CAN1" and "NI-XNET interface CAN2" in devices and interface tree? I wonder if I am missing a driver or something. Like you I see the 9860 Device in the tree but not the CAN1 and CAN 2 interfaces. I am using LV2020 and the cRIO-9056.

msh127_0-1639764164144.png

Any advice would be appreciated.

 

0 Kudos
Message 6 of 8
(2,660 Views)

Form your screenshot, I think you should check if your X-NET driver was installed on your PC and CRIO. If drivers are ok, then you can turn on the external supplier of 9860 and try again.

Message 7 of 8
(2,640 Views)

You were absolutely right, I had X-NET installed properly on the PC but not on the cRIO. Looks like we are good to go. Thanks for the reply!

0 Kudos
Message 8 of 8
(2,630 Views)