setting_processors

Setting processors to be used for SET/QUERY in the SCPIInstrument SETTINGS dict

Classes

AsciiProcessor(setting)

BinaryQuery(setting, length[, cmd_writer])

BinarySet(setting, cmd_writer[, readback_length])

SettingProcessor()

Base class for setting processors acting as adapters between the Instrument set/query functions and actual communication with the instrument.

AsciiProcessor

class icicle.utils.setting_processors.AsciiProcessor(setting)

Bases: SettingProcessor

__init__(setting)

BinaryQuery

class icicle.utils.setting_processors.BinaryQuery(setting, length, cmd_writer=None)

Bases: SettingProcessor

__init__(setting, length, cmd_writer=None)
read(instrument)

The type of the None singleton.

send(instrument, command)

The type of the None singleton.

BinarySet

class icicle.utils.setting_processors.BinarySet(setting, cmd_writer, readback_length=None)

Bases: SettingProcessor

__init__(setting, cmd_writer, readback_length=None)

SettingProcessor

class icicle.utils.setting_processors.SettingProcessor

Bases: object

Base class for setting processors acting as adapters between the Instrument set/query functions and actual communication with the instrument. This allows implenting arbitrary ways of communication.

All attributes have to be assigned a not-None value in the constructor of the derived classes.

__init__()
cmd_writer = None
command(values, settings)
read = None
readback = None
send = None
setting = None