This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Archived:Error -1073807346: Occurred at NI-RIO - Session or Object Reference Invalid

Updated Jan 23, 2020

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Software

  • LabVIEW FPGA Module
  • LabVIEW

Driver

  • NI R Series Multifunction RIO
  • NI CompactRIO

Issue Details

I have compiled FPGA code, and I am trying to interface with it from my host. When I use the Open FPGA Reference and Invoke Nodes on my host VI, I get the following error:

Error -1073807346 occurred at Test.vi
Error occurred at VISA open and NI-RIO. The given session of object reference is invalid.

 

How can I fix this error and run my FPGA code?

Solution

To resolve this, you need to configure a resource for your FPGA device. Follow these steps to resolve the error:

1. Go to the Project Explorer window and right-click on your FPGA device. Select Properties.
 
3. In the resource field, type in RIO::INSTR.
 
3. Click OK.

You should now be able to run your FPGA VI without any errors.