]> sigrok.org Git - libsigrok.git/commitdiff
scpi-dmm: add support for OWON XDM1041
authorSahaj Sarup <redacted>
Sun, 27 Aug 2023 11:00:47 +0000 (16:30 +0530)
committerSoeren Apel <redacted>
Wed, 27 Sep 2023 21:00:52 +0000 (23:00 +0200)
Signed-off-by: Sahaj Sarup <redacted>
src/hardware/scpi-dmm/api.c

index 0c5a1aee391d185ccfc3c0fed5d9e9633ddbfccd..d0a448d783fbe65e6af7f0c1b33eace757fa962f 100644 (file)
@@ -287,6 +287,14 @@ SR_PRIV const struct scpi_dmm_model models[] = {
                0, 0, 10 * 1000, 0, FALSE,
                scpi_dmm_get_range_text, scpi_dmm_set_range_from_text, NULL,
        },
+       {
+               "OWON", "XDM1041",
+               1, 5, cmdset_owon, ARRAY_AND_SIZE(mqopts_owon_xdm2041),
+               scpi_dmm_get_meas_gwinstek,
+               ARRAY_AND_SIZE(devopts_generic),
+               0, 0, 0, 1e9, TRUE,
+               NULL, NULL, NULL,
+       },
        {
                "OWON", "XDM2041",
                1, 5, cmdset_owon, ARRAY_AND_SIZE(mqopts_owon_xdm2041),