Error -1074384758: Interface Name Given Does Not Specify Valid Interface

Updated Nov 2, 2017

Reported In

Hardware

  • cRIO-9068
  • NI-9862

Driver

  • NI-XNET

Issue Details

I am using CompactRIO (cRIO) with a CAN module like NI 9862. When I create an XNET Create Session VI in my RT VI, for the input Interface, it does not let me select my CAN interface (e.g. CAN0, CAN1). It is blank. When I type in my interface manually, I get an error:

Error -1074384758 occurred at XNET Create Session (Frame Input Queued).vi:5430001

Possible reason(s):
NI-XNET:  (Hex 0xBFF6308A) The interface name given does not specify a valid and existing interface. Solution: Use a valid and existing interface. These can be obtained using MAX, XNET system properties, or the LabVIEW XNET Interface IO name. If you are using CompactRIO, refer to the topic "Getting Started with CompactRIO" in the NI-XNET Hardware and Software Help.


Solution

Check cRIO software, ensure that NI-XNET is properly installed on the cRIO. This can be viewed from NI Measurement & Automation Explorer (NI MAX) >> Remote Systems >> [YOUR CRIO NAME] >> Software. If it isn't, install according to Install Software on Your CompactRIO Controller.

If the proper software is already installed, check chassis Programming Mode.
Right-Click Chassis (under RT Target) >> Properties



If you plan to use the chassis in Scan Interface mode, select it and click OK. Ensure these settings are deployed by right-clicking chassis >> Deploy. The CAN interfaces should now be properly detected when you code in an RT VI. If the interfaces are still not showing up, there may be a physical connection issue between the module and the slot on your cRIO. You can test different slots and use NI Distributed System Manager to further troubleshoot your module-chassis connections. Note that you will have to install the NI-RIO IO Scan and System State Publisher as features on your cRIO to be able to use the full monitoring features of Distributed System Manager.

If you plan to use your cRIO in LabVIEW FPGA Interface mode, you can get your CAN interfaces detected by deploying a simple "dummy" FPGA VI to the FPGA target. Create a blank VI for the FPGA target and deploy this "dummy" file to the FPGA target by right-clicking >> Run (this will prompt compilation and deployment).

Additional Information

When using a CAN module with cRIO, the CAN module interfaces must be detected through the backplane of the chassis. When using cRIO in LabVIEW FPGA Interface mode, this connection is not fully configured when there is no bitfile deployed and the CAN interfaces cannot be detected successfully. Deploying a bitfile, even if it is a "dummy" blank VI, will allow certain configuration settings to be sent to the MAX database, which will allow your CAN module to be detected and displayed there.

WAS THIS ARTICLE HELPFUL?

Not Helpful