Error 1172 at Invoke Node Using VeriStand API

Updated Jan 17, 2024

Reported In

Software

  • VeriStand
  • LabVIEW

Issue Details

I use VeriStand APIs in LabVIEW to connect to the VeriStand server. In normal operation, I just open the LabVIEW only and run the program and it will automatically connect and deploy the VeriStand System Definition File to the controller using VeriStand APIs.

When there is a need for code debugging, I will need to manually open the VeriStand project. However, when I run the LabVIEW code, the LabVIEW doesn’t connect to the VeriStand Project using VeriStand APIs. Next, I try to deploy LabVIEW but it does not deploy the VeriStand System Definition File to the controller, instead throws the below error. This error happens when I have the VeriStand project open. How can I resolve this error?

2023-10-20_16h06_58.png

Solution

This error is associated with the VeriStand project being in a folder located different drive, for example, located in the C drive but mapped to another network Drive(P). So, LabVIEW programmatically loads and deploys the VeriStand project from P Drive whereas the user trying to open it manually from the C drive. To resolve the issue, try to verify when opening the Veristand Project Manually, use the correct directory when opening the VeriStand project.