Daemons with the has-measure-trigger trait expect the following configuration:
loop_at_startup (boolean)
default: False
If set to true, the daemon will begin to loop measure as soon as it starts.
Daemons with the has-measure-trigger trait expose the following public messages:
get_channel_names
➜ {'items': 'string', 'type': 'array'}
Get current channel names.
from is-sensor
get_channel_shapes
➜ {'type': 'map', 'values': {'items': 'int', 'type': 'array'}}
Get current channel shapes. If list is empty, channel is scalar.
from is-sensor
get_channel_units
➜ {'type': 'map', 'values': ['null', 'string']}
Get current channel units.
from is-sensor
get_measured
➜ {'type': 'map', 'values': ['double', 'ndarray']}
Get most recent measured value.
from is-sensor
measure
➜ int
Initiate a measurement. Returns integer, measurement ID.
parameters:
loop (boolean)
default: False
stop_looping
Stop looping measurement.
The following daemons implement the has-measure-trigger trait:
ads1115
fake-spectrometer
fake-triggered-sensor
gage-compuscope
gpio-digital-sensor
mcp3428
mcp9600
ni-daqmx-tmux
seabreeze
system-monitor
wright-ingaas
built 2021-02-24 06:08:44 CC0: no copyright