Error -63195 While Running FPGA VI using Interactive Mode

Updated May 3, 2018

Reported In

Software

  • LabVIEW FPGA Module
  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional

Driver

  • NI-RIO

Issue Details

I am attempting to run an FPGA VI in interactive mode on a CompactRIO (cRIO). The VI compiles and downloads successfully, but when it starts I see the following message and dialog box below. How can I resolve this error?

Target Specific Error Encountered 
A driver for the target returned the following error. Consult the LabVIEW Help database or the target documentation for the help in resolving the issue. 
Error Code: -63195 
NI-RIO FPGA Communications Framework: (Hex 0xFFF0925) The handle for device communication is invalid.
 
Figure 1: Error Message Using FPGA on CompactRIO

 

Solution

To prevent this error, try the following two steps:
  • 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 your LabVIEW directory with a text editor (e.g. 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.

Additional Information

This error can occur if LabVIEW automatically closes the VISA session created for communicating with the FPGA backplane of the CompactRIO system.

WAS THIS ARTICLE HELPFUL?

Not Helpful