This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error -307853 When Deploying VeriStand Project to Real-Time Target

Updated Feb 12, 2025

Reported In

Hardware

  • PXI Controller
  • CompactRIO Controller

Software

  • VeriStand
  • LabVIEW Real-Time Module

Operating System

  • PharLap
  • NI Linux Real-Time
  • VxWorks

Issue Details

I am receiving Error -307853 when trying to deploy a VeriStand project to a LabVIEW Real-Time target.

Error -307853 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):
NI VeriStand: The VeriStand Gateway was unable to establish a connection with the target. Confirm that the target is running and that the VeriStand Engine successfully has started. If you still cannot connect to the target, use MAX to reinstall the NI VeriStand Run-Time Engine to the target.

Solution

This error can occur if the NI VeriStand Engine is not installed on the Real-Time target, has become undeployed or corrupted. To install the NI VeriStand Run-Time Engine, you can follow the steps of the resources listed below according to the target type and OS:


NI VeriStand.rtexe will be undeployed if you connect or deploy to the target from LabVIEW Development environment when NI VeriStand.rtexe is running. Try the following to restart VeriStand Engine:

  • A feature was added in VeriStand 2019 R3 and later, allowing you to restart VeriStand Engine from VeriStand Editor.
    1. Select Tool Launcher >> Manage Targets.

 

Restart1.PNG
 
  1. ​​​Click Restart VeriStand Engine and wait for the process to complete. Note: Error 363504 will be reported when restarting the VeriStand engine on a password-protected RT Target (BUG 1505083). As a workaround, set a blank password for the RT controller. Alternatively you can consider other options.

 

Restart2.PNG

 

  • Use Reset VeriStand as Startup Workspace Tool. (This tool is provided as-is and is not supported by or affiliated with NI.)
  • Enabling the Startup Setting "Disable RT Startup App" in NI MAX will make the controller undeploy the VeriStand Engine during reboot, including the one that takes place during installation. Ensure that the setting is disabled beforehand as shown below.

 

Disable RT Startup App.png

 

  • Reinstall VeriStand Engine from NI Measurement and Automation Explorer (MAX).
  • If you are using Linux RT target formatted with Base Images (non-Legacy Installation), you can also do the following:
    1. Access the shell on NI Linux Real-Time devices.
    2. Use command opkg install ni-veristand-engine --force-reinstall to reinstall VeriStand Engine without using NI MAX. If your Linux RT target does not have internet access and requires offline installation package, please refer to Offline installation of OPKG packages on Linux Real-Time devices .
    3. Reboot the target.