]> sigrok.org Git - libsigrok.git/commit
scpi-dmm: return MQ table entry to "get MQ" routine callers
authorGerhard Sittig <redacted>
Sat, 17 Nov 2018 18:43:38 +0000 (19:43 +0100)
committerGerhard Sittig <redacted>
Sat, 17 Nov 2018 19:19:13 +0000 (20:19 +0100)
commit08f3b427b620a7a0308b0ee2e61f443a00f3d49c
tree218d6cde9ef2137ebec35e013db59be3fa1031f5
parent64d03de1c2a0b9b1a088f49ac5ebe530987a7103
scpi-dmm: return MQ table entry to "get MQ" routine callers

The "get MQ" helper routine communicates SCPI responses and translates
them to internal "MQ and flag" values. Optionally return the MQ table
entry reference to callers, so they don't have to repeat the table
lookup when the function's default precision is required, or should
future "start acquisition" requests need to refer to the meter's current
function.
src/hardware/scpi-dmm/api.c
src/hardware/scpi-dmm/protocol.c
src/hardware/scpi-dmm/protocol.h