yaq/traits/has-turret


Represents a device with an indexed turret that has a set of discrete positions, separate from the device's setpoint

state

Daemons with the has-turret trait will provide the following state information:

turret (['null', 'string'])
Current turret index

messages

Daemons with the has-turret trait expose the following public messages:

get_turret ➜ ['null', 'string']
Get current turret identifier.

get_turret_options ➜ {'type': 'array', 'items': ['null', 'string']}
Get current turret identifier.

set_turret
Set the turret to a given identifier.
parameters:

turret (string)

daemons

The following daemons implement the has-turret trait:

acton-2150i
acton-sp2300i
fake-has-turret
horiba-ihr320
horiba-micro-hr


built 2024-02-09 01:44:16                                      CC0: no copyright