Write/Read
About User Preset

UserPresetEnable Property


Description

'Checks' and 'clears' the enable box on the User Preset dialog box. This only affects subsequent Presets from the front panel user interface.

Regardless of the state of the User Preset Enable checkbox, the app.Preset command will always preset the PNA to the factory preset settings, and app.UserPreset will always perform a User Preset.

 VB Syntax

app.UserPresetEnable = state

Variable

(Type) - Description

app

An Application (object)

state

(boolean) Front Panel User Preset State.  Choose from:

False – User Preset OFF

True – User Preset ON

Return Type

Boolean

Default

False

Examples

app.UserPresetEnable = True 'Write

upreset = app.UserPresetEnable 'Read

C++ Syntax

HRESULT get_UserPresetEnable(VARIANT_BOOL *pVal)
HRESULT put_UserPresetEnable(VARIANT_BOOL newVal)

Interface

IApplication6