Error 65501 Trying to Access Scan Engine Variables in NI VeriStand

Updated Jun 1, 2023

Reported In

Software

  • VeriStand
  • LabVIEW FPGA Module

Issue Details

When I try to setup my CompactRIO device in NI VeriStand in hybrid mode, I get error -65501 when trying to read User-Defined Variables that communicate with the FPGA code. What is the cause of this issue? How can I resolve it?


Error -65501: The user-defined I/O variable you are trying to access could not be found. Please make sure that you have opened an FPGA reference to an FPGA VI or bitfile that contains the variable you are trying to access

 

Solution

This could mean the FPGA code is not actually running on the chipset, to make sure the bitfile is loaded up and running you can try one of the following methods: Implementing a simple LED blinking on the FPGA code could help to notice whether the bifile is running or not on the target.

Additional Information

This error can also appear in EtherCAT applications that use User-Defined Variables hosted on EtherCAT slave devices such as NI-9144 and NI-9145.