dwfpy.analog_io.AnalogIo

class AnalogIo(device)[source]

Bases: object

Analog IO module.

Methods

configure

Configures the instrument.

read_status

Reads the status of the device.

reset

Resets and configures all instrument parameters to default values.

Attributes

channels

Gets a collection of Analog IO channels.

device

Gets the device.

master_enable

Gets or sets the master enable switch.

master_enable_can_read

Return True when the status of the master enable can be read.

master_enable_can_set

Return True when the status of the master enable can be set.

master_enable_status

Gets the master enable status.

property channels: Tuple[AnalogIoChannel, ...]

Gets a collection of Analog IO channels.

Return type

Tuple[AnalogIoChannel, ...]

configure()[source]

Configures the instrument.

Return type

None

property device: Device

Gets the device.

Return type

Device

property master_enable: bool

Gets or sets the master enable switch.

Return type

bool

property master_enable_can_read: bool

Return True when the status of the master enable can be read.

Return type

bool

property master_enable_can_set: bool

Return True when the status of the master enable can be set.

Return type

bool

property master_enable_status: bool

Gets the master enable status.

Return type

bool

read_status()[source]

Reads the status of the device.

Return type

None

reset()[source]

Resets and configures all instrument parameters to default values.

Return type

None