Write/Read
About ExternalDevices

ExternalDeviceDeActivatePolicy Property


Description

Set and return whether External Devices remain activated or are de-activated when the PNA is Preset or when a Instrument State is recalled.

This setting remains until changed again using this command, or until the hard drive is changed or reformatted.

See the ExternalDevices collection.

 VB Syntax

pref.ExternalDeviceDeActivatePolicy = value

Variable

(Type) - Description

pref

A Preferences (object)

value

(Boolean) - Choose from:

  • True - External device are de-activated when the PNA is Preset or when a Instrument State is recalled.

  • False - External devices remain active when the PNA is Preset or when a Instrument State is recalled.

Return Type

Boolean

Default

True

Examples

pref.ExternalDeviceDeActivatePolicy = 1 'Write

dDevPolicy = pref.ExternalDeviceDeActivatePolicy 'Read

C++ Syntax

HRESULT get_ExternalDeviceDeActivatePolicy(VARIANT_BOOL * pref);

HRESULT put_ExternalDeviceDeActivatePolicy(VARIANT_BOOL pref);

Interface

IPreferences10