I don't think it is meaningful to read back the configured settings in machine unit. Just return the user configured value?
It doesn't matter here. The bottleneck will be self.get_tec_i(channel)
which blocks until the single conversion Adc readings return.
if you add kelvin unit to b
, don't use self.b.get::<kelvin>()
. The unit is correct now.
Stabilizer Firmware does reset all the sockets when Ethernet link is dropped. Just the part that reset all sockets is written inside the smoltcp-nal crate.
You should fix all the siPrefix. Especially when we do not allow unit to be modified now. It will be confusing if the siPrefix of the unit suddenly changes.
Replacing the incorrectly defined FLOAT_REGEX on pyqtgraph.functions is more preferable.
Looks like a hack. The unit conversion should not be affected by the title.