sercona / Owon-Multimeters

Owon Bluetooth Digital Multimeter Support for Linux (b35t+, b41t+, cm2100b, ow18e)
BSD 3-Clause "New" or "Revised" License
10 stars 2 forks source link

Add prefix to current measurement #1

Closed DiePfeiffe closed 8 months ago

DiePfeiffe commented 8 months ago

Currently the prefix is not displayed, when measuring AC or DC current. This causes the unit to be wrong in the µA and mA range. This PR adds this. (Like it's already done for Volts) before:

1703541520.41 005.8 DC A
1703541522.36 00.01 DC A
1703541527.94 0.000 DC A

after:

1703541520.41 005.8 DC µA
1703541522.36 00.01 DC mA
1703541527.94 0.000 DC A

Happy holidays

sercona commented 8 months ago

thanks, not sure why I forgot that ;)

I'll check it on my meters to verify but it looks good.

cheers!