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

Updated Oct 29, 2021

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 VeriStand Real-Time Engine is not installed on the Real-Time target or has become corrupted. Make sure NI VeriStand Engine is installed on the Real-Time target.
NI VeriStand.rtexe will be damaged 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