NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically launch 32bit or 64bit TS from C#

Solved!
Go to solution

Hi,

I'm using the simple C#.net example to run TS sequences. I have both 32bit & 64bit TS 2019 installed.

 

I can use the TS version selector to launch either versions but I want to control the launch from within C#. How do I do this using the "LaunchTestStandApplicationInNewDomain.LaunchProtected(.......). Can I pass a particular argument to it that alters what TS instance is invoked.

 

Thanks,

0 Kudos
Message 1 of 3
(1,835 Views)
Solution
Accepted by topic author MisterVVC

The TestStand Engine is a per-process singleton, so it will be the same bitness as your C# app. If you want to run sequences in both bitnesses, i can think of a few options:

Hope this helps!

Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 3
(1,812 Views)

Thanks for the info - I finally got round to trying this out by compiling a 32bit & 64bit C# app and running the relevant sequences. This proved TestStand bitness is as per your description.

0 Kudos
Message 3 of 3
(1,740 Views)