Write/Read
About External Devices

IOEnable Property


Description

Sets and returns whether an external device is enabled for IO communication with the PNA.

When disabled (False), the PNA will NOT attempt to connect to the external device regardless of the instrument state (Active).property.  Therefore, no errors will be produced if the device is not connected.

This command is useful for debugging and testing states when the external device is not connected. This command is unnecessary in ordinary operation (when the device is connected).

 VB Syntax

extDevices.IOEnable = value

Variable

(Type) - Description

extDevices

An ExternalDevice (object)

value

(Boolean)  Choose from:

True - Device is available for IO communication.

False - Device is NOT available for IO communication.

Return Type

Boolean

Default

True

Examples

extDevices.IOEnable = True 'Write

bool = extDevices.IOEnable 'Read

See example program to configure PMAR device

See example program to configure External Source

C++ Syntax

HRESULT get_IOEnable( VARIANT_BOOL* value);

HRESULT put_IOEnable( VARIANT_BOOL newVal);

Interface

IExternalDevices


Last Modified:

17-Sep-2012

Edited description

31-Jul-2009

MX New topic