Invoke or Property Node Not Executed When LabVIEW VI Called From TestStand

Updated Nov 17, 2021

Reported In

Software

  • LabVIEW
  • TestStand

Issue Details

I have a LabVIEW Vi that runs fine when run standalone from LabVIEW, but gives weird or unexpected behaviour when called from TestStand. 
The VI also works when I step into the VI.

Why is the behaviour different when the VI is called from TestStand?

Solution

If you have configured TestStands LabVIEW Adapter to use LabVIEW runtime, see Differences Between the Execution of TestStand LabVIEW Test Steps with the LabVIEW Runtime Engine vs. Development System.

If you have TestStand configured to use the LabVIEW Development System, you may see unexpected behaviour if you are using implicitly linked invoke nodes or property nodes. 
To understand the difference between an implicitly and explicitly linked property node, see Difference Between Implicitly and Explicitly Linked Property Node.

To have your VI execute as expected, swap any and all implicitly linked property or invoke nodes to explicitly linked,