IsEditor Property

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

Syntax

ApplicationMgr.IsEditor

Data Type

Boolean

Purpose

Specifies whether the TestStand User Interface (UI) Controls allow the user to create and edit sequence files. Set this property to False for a non-editing user interface application. Set this property to True for an application that edits and saves sequence files.

Remarks

When you set this property to True and you do not have an activated license that allows editing, TestStand generates a prompt to activate a license. When you do not have an appropriate license, TestStand generates an error. You can set or clear this property with the /editor or /operatorinterface command-line flags. To avoid overriding a value you specify on the command line, set this property to a default value for the application before the application evaluates the command-line arguments. The application evaluates command-line arguments when you call the ApplicationMgr.Start method. Use the ApplicationMgr.CommandLineCanChangeEditMode property to control whether the application evaluates the /editor or /operatorinterface command-line flags.

When you set this property in the designer or set it before you call the ApplicationMgr.Start method, TestStand verifies the value when you call the ApplicationMgr.Start method, which returns an error when this property is True and cannot obtain a license that permits editing. When you set this property after calling the ApplicationMgr.Start method, the Application Manager control might prompt to activate a license.


See Also

Activating Your Software with the NI License Manager

ApplicationMgr.CommandLineCanChangeEditMode

ApplicationMgr.EditModeShortcutKey

ApplicationMgr.ProcessCommandLine

ApplicationMgr.Start

TestStand Licensing Options

WAS THIS ARTICLE HELPFUL?

Not Helpful