Error 537707 Occurs When Deploying Scan Engine and EtherCAT Custom Device

Updated Oct 8, 2019

Reported In

Hardware

  • CompactRIO Controller

Software

  • VeriStand
  • VeriStand Custom Devices

Issue Details

I have followed the instructions listed in Using FPGA and Real-Time Scan Resources in the VeriStand Scan Engine Custom Device so that I can use some C-series modules in FPGA and other modules in Scan Interface on CompactRIO (hybrid mode) from VeriStand.
I am able to load a FPGA bitfile and detect user-defined variables on the local chassis in the system definition file, but when I deploy this system definition following error occurs: 

Error 537707 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi

Possible reason(s):
A User-Defined Variable (UDV) container was not found.


How can I resolve this error?

Solution

VeriStand searches for a user-defined variable (UDV) container named "User-Defined Variables." If you have the UDV container with different name when creating a bitfile from LabVIEW, VeriStand will throw error 537707 when the bitfile is deployed.
Therefore, to resolve this error, make sure to name the UDV container as "User-Defined Variables" and recompile the bitfile before deploying it from VeriStand.
 

Additional Information

This error can often occur when non-English version of LabVIEW is used since the default name of the UDV container will be in that specific language.