Start Io Signal Observer
Starts an Observer on a specific {iochannel,attibute} pair.
Arguments Description
io_channel_path (str): The io channel path should be in the format:
HW::HwSignalName
/PS::psChannelName
.
- attribute_name (str): HW type: it could be: { Voltage,
Current, DutyCycle only relevant for PWM (yaml field –> MeasurementAttribute: PWM), Frequency, Power: relevant only for PS_Channel, Resistance, RawValue, ShortCutToVbat, ShortCutToGnd, OpenLoad, LowVoltage}
Returns
- bool: True if the observer is successfully started; otherwise, False.
For example, an Observer on that {iochannel,attibute} pair is already started and not stopped yet.
Example
Start Io Signal Observer HW::${HwSignalName} Voltage
Note
The received values can be retrieved once the observer is stopped.