NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you programmatically add a .Net reference to TestStand StationGlobals?

TestEng42,

 

I would advise making a brand new forum post. As mentioned, a lot has changed in the past 10 years, and posts on an old thread typically don't gain much visibility if the original poster isn't still around.

 

VanCamp

0 Kudos
Message 11 of 13
(172 Views)

If you save a .NET reference in a station global with the .NET adapter it does NOT go away when the sequence execution is done. It keeps the execution appdomain around and it will be re-used with future executions. You will however be unable to unload .NET assemblies loaded by the .NET adapter until those references are cleared.

 

-Doug

0 Kudos
Message 12 of 13
(170 Views)

You are correct! The .NET references persist across executions (which now that I step back and think about it makes sense. They are relative to the application manager for station globals).  Thanks, dug9000.

0 Kudos
Message 13 of 13
(167 Views)