Error -1073807346: Error Occurred at VISA Open and NI-RIO Open: Given Session or Object Reference is Invalid

Updated Jan 23, 2018

Reported In

Hardware

  • PXI-7831

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:
 

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful