Timeout Error -307672 in VeriStand

Updated Sep 21, 2023

Reported In

Software

  • VeriStand

Issue Details

When I try to deploy my VeriStand project, I get the following error in the deploy log:

Error -307672 occurred at NI VeriStand Gateway.lvlib:Veristand Server Wrapper.vi >> NI VeriStand Server.lvlib:NI VeriStand Server.vi
Possible reason(s):
NI VeriStand:  One or more targets failed to start within the specified timeout. Verify that any start trigger or clock signals are configured correctly.


and I also get the following error from a running status dialog box in VeriStand:

Details:
Error -307663 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> Project Window.lvlib:Connect to System.vi
Possible reason(s):
NI VeriStand:  One or more targets failed to start within the specified timeout. Verify that any start trigger or clock signals are configured correctly.
=========================
NI VeriStand: DataServices.lvlib:ERunConfiguration.vi.ProxyCaller >> DataServices.lvlib:ERunConfiguration.vi:2

Solution

This timeout error is caused by one or more items in your VeriStand project, such as a model, not being successfully deployed to your target within the defined timeout time. Following these steps can help extend the timeout period and may help overcome the error.
 

For VeriStand 2021 R2 and later

  1. Open your project in VeriStand.
  2. Click on the Idle dropdown used to deploy VeriStand
  3. You will see a Wait time setting, set to 120000 ms by default. Increase this value to 180000 ms.
  4. If it doesn't work, you can try with higher values like 200000 ms, 220000 ms, or more.
timeout.PNG
 

For VeriStand 2019 to 2021 R1

  1. Open your project in VeriStand.
  2. Double-click on the .nivsprj. This will open the project in the middle pane of the editor.
  3. Select the Document tab at the right pane in the editor and find Wait milliseconds.
  4. Change the value of Wait milliseconds from 120000 ms (Default) to 180000 ms.
  5. If it doesn't work, you can try with higher values like 200000 ms, 220000 ms, or more.

 

For VeriStand 2018 or earlier

  1. Open your project in VeriStand.
  2. Right-click on your main project and select Properties.
  3. Click VeriStand Gateway and find Wait for specified timeout Timeout.
  4. Change the value of Wait for specified timeout Timeout 120000 ms (Default) to 180000 ms.
  5. If it doesn't work, you can try with higher values like 200000 ms, 220000 ms, or more.

Additional Information

This timeout error can also be caused when your hardware goes into a bad state. You will see this deployment timeout error because your project cannot correctly communicate with the hardware it is trying to communicate with. To determine if this is your behaviour:
  • Examine your hardware. 
    • If you have CAN or XNET cards, are any ports showing as active when they should not be? Consult your user device manual for what LED signals mean.
  • Narrow down your project to include fewer pieces of hardware.
    • Start with a blank system definition file and see if you can successfully deploy that.
    • Add pieces of hardware, models, or custom devices to the system explorer one at a time until the error returns.