yaq/traits/has-measure-trigger


Daemons with the has-measure-trigger allow measurement to be software triggered over the RPC.

requires

is-sensor

configuration

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.

messages

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.

daemons

The following daemons implement the has-measure-trigger trait:

ads1115
edaq-isopod
fake-spectrometer
fake-triggered-sensor
gage-compuscope
gpio-digital-sensor
mcp3428
mcp9600
ni-daqmx-tmux
rgb-qmini
scpi-sensor
seabreeze
system-monitor
wright-ingaas


built 2021-09-25 05:03:33                                      CC0: no copyright