Comments (6)
I think I've found the problem. SmuView is using the encoding.digits
/spec.spec_digits
information, provided in each individual analog data payload by the libsigrok drivers. This information is used to get a representation of the measured value as close as possible to the display of the DMM.
It looks like the fs9922 protocol decoder used for the UT61C is setting the exponent rather the number of decimal places. From the docstring in libsigrok.h
:
Number of significant digits after the decimal point if positive,
or number of non-significant digits before the decimal point if
negative [...]
I've fixed that issue in my libsigrok branch fs9922_digits
, but of course couldn't test it. Give it a try if you like. Would be great, if you could test also for other decimal places and prefixes (ยต, m, k, M)- Let me know, if this works for you, then I'll open a PR in the next days.
from smuview.
The wrong value inside the main display is fixed with commit 1be2c39 and the latest continuous build.
from smuview.
Some more information would be helpful:
- What SmuView version are you using?
- What OS are you using?
- What was the expected value?
- What was the display exactly showing (screenshot)
- When you start SmuView with the argument
-l 5
does the right value appear in the log? If so, please attach this portion of the log (with maybe 10 lines before and after the interesting part)
from smuview.
@knarfS
Ubuntu 22.04, latest git version (compiled everything regarding sigrok from git, no ubuntu packages used).
Expected value (as seen in log and being shown in the graphs of smuviewk : resistor with 4700 Ohms). Smuview gets the correct value (uses it for graphs etc) but rounds it for the main display.
Shown on "main" display : 5k Ohms ("exactly" - problem is just the rounded value in display. smuview gets the correct values but displays them rounded)
Unfortunately I couldn`t screen the correct bar graph value. Yesterday it was shown correctly, today it messes up the scaling somehow, dont know why
from smuview.
This works absolutely perfect so far, thank you soo much. I get exactly whats on the display of my UT-61C now.
I tested any resistors I had handy (k / M works fine), as well as some defined voltages (160mV, -12V, 3.3V, 5V ,12V, 40V)
Signed ( - ) numbers/decimals also work just fine.
Will test some caps over the weekend to check ยตF & nF.
Thanks sooooo much for your work, this is just incredible =) It allows me to integrate my multimeter (and hopefully psu too soon) in my videos/streams via OBS in linux with a nice display !! Just great.
from smuview.
I can confirm now, that all modes and decimal places and units work just fine.
from smuview.
Related Issues (20)
- TC66C Bluetooth connection HOT 1
- Itech IT8511A+ segmentation fault HOT 8
- OWON P4305 support HOT 4
- Crashes while startup // segmentation fault
- settings HOT 2
- smuview "crashes" the UT-D04 (USB/HID cable with WCH CH9325 chip, USB VID/PID 1a86:e008) HOT 5
- continuous build won't run on debian sid HOT 2
- Incorrect behaviour/working with EBD tester
- No luck with SmuView trial HOT 1
- KeyError
- Cannot find device when scan
- AppImage: Bluetooth-serial rdtech-um device - no connection without root privileges HOT 1
- macOS Monterey - Crash on startup
- Nightly smuview AppImage refuses to run on Ubuntu 22.04 HOT 3
- can't connect to Brymen BM869s via BM-86X USB interface cable HOT 7
- app bundle for MacOS tries to use global python installation instead of bundled framework
- Displaying error in Panel View HOT 2
- Build error: sigrok::Quantity::ENERGY and similar not found HOT 4
- Does not support multiple --driver with the same driver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smuview.