NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Licence required for a TS UI

Solved!
Go to solution

Hi,

We've built a TS UI that is used to run sequences in production. This interface does NOT allow to add steps to a sequence or add breakpoints. So our app cannot be used for debug our development.

 

However, we usually install the Sequence Editor on the computer in case we need it for debug. In that case we activate our development license prior to launching it.

 

So we installed our UI on a PC (installer installed also the Sequence Editor as mentioned above) and activated or base TS license. 

 

But when laughing our software we had a pop up asking for our debug / development license. Why is that?

Is it triggered by the fact the Sequence Editor is installed on the PC?!

If not, what can explain this behaviour?

How does the license manager can evaluate it needs a specific licence?

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 1 of 4
(1,631 Views)
Solution
Accepted by topic author CyGa

If you are using or created a UI that is only for operator use (no editing) make sure that you set the axApplicationMgr AcitveX Com object properties are set properly.  Look for IsEditor; if you started your project using the Operator UI examples from TestStand then IsEditor might be set to True. Set IsEditor to False.  After that you will have to rebuild your UI application

 

The other choice, if you can't rebuild, is to launch your UI via a shortcut and use the command arg /operatorInterface.

 

If this helps, mark accepted and give kudos.

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

Indeed, AppMgr.IsEditor was set to True. I set it to False and that works now!

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 3 of 4
(1,564 Views)

Glad to hear.  Indeed, when TS Engine is loading it uses the AppMgr IsEditor property to initiate the license request.  If the application is an editor, then the active license has to be debug/developer.  But if not an editor, then the Base Deployment license is sufficient.

 

The below links describe this behavior further.

 

https://zone.ni.com/reference/en-XX/help/370052AA-01/tsfundamentals/infotopics/editor_app_create/

https://zone.ni.com/reference/en-XX/help/370052AA-01/tsuiref/reftopics/applicationmgr_iseditor_p/

0 Kudos
Message 4 of 4
(1,559 Views)