Error Opening VISA Resource Error -1073807246 (Hex 0xBFFF0072) on compactRIO

Updated Dec 27, 2018

Reported In


  • CompactRIO Controller
  • CompactRIO Chassis



Issue Details

I am currently trying to access my RS232 port on a compactRIO device either in a VISA test panel in NI Measurement and Automation Explorer (MAX) or programmaticly in LabVIEW and get the following error:

Error opening resource: 
VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it. 




This error is usually associated with a port conflict with the port you are trying to access. Try the following:
  • Ensure there are no other applications (LabVIEW or NI MAX) that are currently trying to access said port.
  • Close all VISA sessions after use so that ports used by NI VISA are then freed.
  • Ensure your version of NI VISA is compatible with your version of LabVIEW and NI-RIO.
  • Disable Console Out.
    • If you have a compactRIO product that comes with the Console Out Startup option in MAX enabled by default, make sure you disable before calling your VISA functions.
    • On devices with a Console Out switch, ensure the switch is in the OFF position.


Not Helpful