]> sigrok.org Git - libsigrok.git/commit - src/hardware/scpi-dmm/protocol.h
scpi-dmm: add support to get/set range on Agilent protocol using meters
authorGerhard Sittig <redacted>
Thu, 20 May 2021 20:00:47 +0000 (22:00 +0200)
committerGerhard Sittig <redacted>
Sat, 22 May 2021 06:35:11 +0000 (08:35 +0200)
commita0418c20d8eebb4ed127b04256e1b7a1dc2bdc7e
tree572e4b4ae1d91fafde7057bfd621e8be66a15a2e
parent7fcdc35e1709c37b2c3175dda3c3c217e331717d
scpi-dmm: add support to get/set range on Agilent protocol using meters

Add support to get and set the auto/manual range on Agilent protocol
speaking devices (34405A, 34465A). The range values are mere numbers
without a unit or MQ associated with them. Support to list available
ranges is prepared but not used (not needed on these meters). Common
logic could open code the lists of ranges from the model description
if desired in a future implementation.
src/hardware/scpi-dmm/api.c
src/hardware/scpi-dmm/protocol.c
src/hardware/scpi-dmm/protocol.h