]> sigrok.org Git - libsigrok.git/commit
hp-3457a: Implement workaround for double-precision data
authorAlexandru Gagniuc <redacted>
Wed, 30 Mar 2016 02:21:55 +0000 (19:21 -0700)
committerUwe Hermann <redacted>
Wed, 30 Mar 2016 10:50:59 +0000 (12:50 +0200)
commit625430bf88ca7926ea386f6288f95f99290271ef
treea50391d977de24ca846f89f88b114eb1c9e73947
parentdb23af7fc26c9a69d500d806b060c131361e9565
hp-3457a: Implement workaround for double-precision data

Certain output modules do not understand double-precision data.
Although we need double precision to represent the full resolution
of 7.5 digit readings, temporarily convert data to single precision
so that the output modules understand it. While the reasing might be
off by a few counts, we ensure the output modules do not display
completely bogus data.

For details, see bug #779.
src/hardware/hp-3457a/protocol.c