Giter VIP home page Giter VIP logo

Comments (6)

knarfS avatar knarfS commented on June 16, 2024 1

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.

knarfS avatar knarfS commented on June 16, 2024 1

The wrong value inside the main display is fixed with commit 1be2c39 and the latest continuous build.

from smuview.

knarfS avatar knarfS commented on June 16, 2024

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.

p1ngb4ck avatar p1ngb4ck commented on June 16, 2024

@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)

Screenshot :
smuview_screenshot_2022-12-12 19-04-31

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.

p1ngb4ck avatar p1ngb4ck commented on June 16, 2024

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.

p1ngb4ck avatar p1ngb4ck commented on June 16, 2024

I can confirm now, that all modes and decimal places and units work just fine.

from smuview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.