Daemons with the is-daemon trait expect the following configuration:
make (['null', 'string'])
default: __null__
model (['null', 'string'])
default: __null__
port (int)
TCP port for daemon to occupy.
serial (['null', 'string'])
default: __null__
Serial number for the particular device represented by the daemon
Daemons with the is-daemon trait expose the following public messages:
busy
➜ boolean
Returns true if daemon is currently busy.
get_config
➜ string
Full configuration for the individual daemon as defined in the TOML file.
This includes defaults and shared settings not directly specified in the daemon-specific TOML table.
get_config_filepath
➜ string
String representing the absolute filepath of the configuration file on the host machine.
get_state
➜ string
Get version of the running daemon
id
➜ {'type': 'map', 'values': ['null', 'string']}
JSON object with information to identify the daemon, including name, kind, make, model, serial.
shutdown
Cleanly shutdown (or restart) daemon.
parameters:
restart (boolean)
default: False
The following daemons implement the is-daemon trait:
acton-2150i
ads1115
attune
fake-continuous-hardware
fake-discrete-hardware
fake-has-turret
fake-sensor
fake-spectrometer
fake-triggered-sensor
gage-compuscope
gdrive
gpio-digital-output
gpio-digital-sensor
horiba-micro-hr
lightcon-topas4-motor
lightcon-topas4-shutter
mcp3428
mcp9600
mqtt-homie-sensor
newport-connex-agp
newport-smc100
ni-daqmx-tmux
pmc
scpi-sensor
scpi-set-continuous
scpi-set-discrete
seabreeze
system-monitor
thorlabs-bsc201
thorlabs-bsc203
thorlabs-k10cr1
thorlabs-kdc101
thorlabs-kst101
thorlabs-lts150
thorlabs-lts300
vici-two-position
wright-filter-wheel
wright-ingaas
zaber-binary
built 2021-04-16 05:08:36 CC0: no copyright