I am trying to create a VI that will retrieve a list of alarms from a system definition file. I was able to get this functionality working when it was in a single VI, but I started running into issues when I separated portions of the code into subVIs.
(VeriStand Example 1.vi)
I started having an issue when I placed the VeriStand launch and System Definition deployment code in a subVI.
(VeriStand Example 2.vi)
(VeriStand Example 2 SubVI.vi)
When I run the above example without highlight execution, it works. But when I have highlight execution enabled, I get the following error.
Does anyone have an explanation for why the subVI and highlight execution would effect the outcome of this code?