ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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,802 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 - https://www.ni.com/docs/en-US/bundle/teststand/page/teststand-version-selector.html. 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,783 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,781 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,756 Views)