Error -63195 While Running FPGA VI Using Interactive Mode

Updated Oct 5, 2025

Reported In

Software

  • LabVIEW FPGA Module
  • LabVIEW Full
  • LabVIEW Professional
  • LabVIEW Real-Time Module

Driver

  • NI-RIO

Issue Details

I am attempting to run an FPGA VI in interactive mode on a RIO device. The VI compiles and downloads successfully, but when it starts I see the following message and dialog box below. 

Target Specific Error Encountered
A driver for the target returned the following error. Consult the LabVIEW Help database or the target documentation for help in resolving the issue. 

 

Error -63195 occurred at an unidentified location

 

Possible reason(s): 


NI-RIO FPGA Communications Framework: (Hex 0xFFF0925) The handle for device communication is invalid.

 

63195.png 

 

Why does this error occur and how can I prevent it?

Solution

This error can occur if LabVIEW automatically closes the VISA session created for communicating with the FPGA backplane of the CompactRIO system. To prevent this error, try the following steps:

 

  • If your code has multiple loops using the FPGA reference, make sure they have finished executing before closing the reference.
  • Open the Tools » Options dialog, select the Environment category, and uncheck the Automatically Close VISA Sessions checkbox.
  • If the above step does not fix the problem, open the LabVIEW.ini file located in C:\Program Files\National Instruments\LabVIEW <your version> (for 64-bit) with a text editor like Notepad++. If you have a token that reads cleanupVisa=True, change it to cleanupVisa=False. If this token does not already exist, add cleanupVisa=False to the bottom of the INI file, save it, and restart LabVIEW.
  • Reinstall your NI-RIO/CompactRIO driver.
  • Rebuild your Bitfile and make sure it's correctly linked.