scpi-dmm: Add Agilent 34410A.

This commit is contained in:
Mike Walters 2020-07-27 01:10:57 +01:00
parent cb828f1b3e
commit 85cff5cfba
1 changed files with 10 additions and 0 deletions

View 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 * 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. * 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, * On the 34401A,
* MEAS <optional parameters> ? configures, arms, triggers and waits * MEAS <optional parameters> ? configures, arms, triggers and waits
* for a reading * for a reading
@ -111,6 +114,13 @@ SR_PRIV const struct scpi_dmm_model models[] = {
ARRAY_AND_SIZE(devopts_generic), ARRAY_AND_SIZE(devopts_generic),
0, 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", "Keysight", "34465A",
1, 5, cmdset_agilent, ARRAY_AND_SIZE(mqopts_agilent_34405a), 1, 5, cmdset_agilent, ARRAY_AND_SIZE(mqopts_agilent_34405a),