09-02-2020 08:30 PM
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?
Solved! Go to Solution.
09-10-2020 04:23 PM - edited 09-10-2020 04:28 PM
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.
09-10-2020 04:29 PM
Indeed, AppMgr.IsEditor was set to True. I set it to False and that works now!
09-10-2020 04:38 PM
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/