AnalogRange
pub struct AnalogRange
A voltage or current range for an analog PIF channel.
The hardware offers a closed set (0-10 V, 0-20 mA and 4-20 mA), and which of them a device supports is reported as data rather than inferred from its model.
AnalogRange — fields
min: f32
Lower bound of the range.
max: f32
Upper bound of the range.
unit: String
Physical unit label, e.g. "V" or "mA".
AnalogRange — methods
pub fn new() -> Result<Self>
The SDK's default, 0-10 V.
Errors
Returns an error only if the SDK's own initialiser fails.