Manual moveable classes

class nicos.generic.manual.ManualMove

Bases: HasLimits, Moveable

A representation of a manually moveable continuous device.

This device does nothing but record the latest position you moved to. This is useful for instrument parameters that have to be changed manually, but you still want to record them in data files, status monitor etc.

Parameters

default (float)

Default value when freshly initialized. Default value: 0.0.

Parameters inherited from the base classes: abslimits, description, fixed, fmtstr, loglevel, lowlevel, maxage, pollinterval, target, unit, userlimits

class nicos.generic.manual.ManualSwitch

Bases: Moveable

A representation of a manually changeable device.

This is akin to the ManualMove device, but for instrument parameters that take only discrete values.

If the states parameter is not empty, it represents a list of all allowed values of the device. If it is empty, all values are allowed.

Parameters

states (a list of any value, mandatory in setup)

List of allowed states.

Parameters inherited from the base classes: description, fixed, fmtstr, loglevel, lowlevel, maxage, pollinterval, target, unit

Previous topic

Switcher classes

Next topic

Devices communicating via cache