From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TS Version Selector and ActiveX in LV

Hello,

 

I need to switch TS versions and do some actions on all installed TS versions.

But it seems that activex still has loaded previous TS version? I have to restart LV and then he loads version that was last set.

Is there an workaround ?

 

Capture.PNG

0 Kudos
Message 1 of 4
(2,212 Views)

Hi Pawhan,

 

Since LabVIEW is communicating with the TestStand engine through ActiveX/Com technology, there can only be one active version. See the Version selector help - http://zone.ni.com/reference/en-XX/help/370052N-01/tsref/infotopics/versionselector/. When LabVIEW loads, it reads from the registry what the active TestStand version is and therefore will need to be relaunched in order to read the new engine reference. 

0 Kudos
Message 2 of 4
(2,193 Views)

Thanks for the reply,

 

I found simple workaround:

-set active TS version from main app

-call simple LV exe from main app that will do actions on TS by activex

-repeat

 

0 Kudos
Message 3 of 4
(2,191 Views)

Another question:

 

How can I get ridof popup from TS Version Selector when starting it from console?

I want to automate switching process and now someone has to press confirm button

 

0 Kudos
Message 4 of 4
(2,166 Views)