Write/Read
About Preferences

PresetPowerState Property


Description

Set and return the Preset Power ON/OFF state.

 VB Syntax

pref.PresetPowerState = value

Variable

(Type) - Description

pref

A Preferences (object)

value

(Enum as NAPowerStates) - Choose from:

naPowerON (0) - Instrument Preset always turns RF power ON.

naPowerAUTO (1):

  • When the current power setting is OFF, leave power OFF at Preset.

  • When the current power setting is ON, turn power ON at Preset.

Return Type

enum

Default

naPowerON (0)

Examples

pref.PresetPowerState = naPowerON 'Write

pwrState = pref.PresetPowerState 'Read

C++ Syntax

HRESULT get_PresetPowerState(tagNAPowerStates* pVal);
HRESULT put_PresetPowerState(tagNAPowerStates pVal);

Interface

IPreferences11


Last Modified:

9-Mar-2010

MX New topic