From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VeriStand Connection Issue and Alarm Access

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.

stevenf21_0-1590796664339.png

(VeriStand Example 1.vi)

 

I started having an issue when I placed the VeriStand launch and System Definition deployment code in a subVI.

stevenf21_1-1590796969951.png

(VeriStand Example 2.vi)

stevenf21_2-1590797163023.png

 

(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.

stevenf21_3-1590797241005.png

 

Does anyone have an explanation for why the subVI and highlight execution would effect the outcome of this code?

 

0 Kudos
Message 1 of 1
(1,985 Views)