]> sigrok.org Git - libsigrok.git/commitdiff
scpi-dmm: Add Agilent 34410A.
authorMike Walters <redacted>
Mon, 27 Jul 2020 00:10:57 +0000 (01:10 +0100)
committerMike Walters <redacted>
Mon, 27 Jul 2020 00:10:57 +0000 (01:10 +0100)
src/hardware/scpi-dmm/api.c

index 74f971e3112bb7e82c5509115cee8e371973d382..9cf4c339c84d6a0df0794774eb77c920ed7195e2 100644 (file)
@@ -57,6 +57,9 @@ static const struct scpi_command cmdset_agilent[] = {
  * I'm surprised the same instruction sequence doesn't work and INIT may
  * work for both, but I don't have the others to re-test.
  *
+ * cmdset_hp also works well for the 34410A, using cmdset_agilent throws an
+ * error on 'MEAS' without a '?'.
+ *
  * On the 34401A,
  *  MEAS <optional parameters> ? configures, arms, triggers and waits
  *       for a reading
@@ -111,6 +114,13 @@ SR_PRIV const struct scpi_dmm_model models[] = {
                ARRAY_AND_SIZE(devopts_generic),
                0,
        },
+       {
+               "Agilent", "34410A",
+               1, 6, cmdset_hp, ARRAY_AND_SIZE(mqopts_agilent_34405a),
+               scpi_dmm_get_meas_agilent,
+               ARRAY_AND_SIZE(devopts_generic),
+               0,
+       },
        {
                "Keysight", "34465A",
                1, 5, cmdset_agilent, ARRAY_AND_SIZE(mqopts_agilent_34405a),