X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fscpi-pps%2Fprofiles.c;h=33f9c23d3eb159b6f4aea62780f512c523dfa1e4;hb=6cc931283d952be755c02db84044ce1f95e8426d;hp=cc5c0ce3c6bdd4dd637a68dc2a3a16c3411f8e4e;hpb=91ef511db2370904f8765a13e315fbddaf5ffe07;p=libsigrok.git diff --git a/src/hardware/scpi-pps/profiles.c b/src/hardware/scpi-pps/profiles.c index cc5c0ce3..33f9c23d 100644 --- a/src/hardware/scpi-pps/profiles.c +++ b/src/hardware/scpi-pps/profiles.c @@ -19,6 +19,7 @@ * along with this program. If not, see . */ +#include #include #include #include "protocol.h" @@ -43,12 +44,16 @@ static const uint32_t agilent_n5700a_devopts_cg[] = { SR_CONF_ENABLED | SR_CONF_GET | SR_CONF_SET, }; +static const struct channel_group_spec agilent_n5700a_cg[] = { + { "1", CH_IDX(0), PPS_OVP | PPS_OCP }, +}; + static const struct channel_spec agilent_n5767a_ch[] = { { "1", { 0, 60, 0.0001 }, { 0, 25, 0.1 }, FREQ_DC_ONLY }, }; -static const struct channel_group_spec agilent_n5767a_cg[] = { - { "1", CH_IDX(0), PPS_OVP | PPS_OCP }, +static const struct channel_spec agilent_n5763a_ch[] = { + { "1", { 0, 12.5, 0.001 }, { 0, 25, 0.01 }, FREQ_DC_ONLY }, }; /* @@ -471,12 +476,21 @@ static const struct scpi_command philips_pm2800_cmd[] = { }; SR_PRIV const struct scpi_pps pps_profiles[] = { + /* Agilent N5763A */ + { "Agilent", "N5763A", 0, + ARRAY_AND_SIZE(agilent_n5700a_devopts), + ARRAY_AND_SIZE(agilent_n5700a_devopts_cg), + ARRAY_AND_SIZE(agilent_n5763a_ch), + ARRAY_AND_SIZE(agilent_n5700a_cg), + agilent_n5700a_cmd, + .probe_channels = NULL, + }, /* Agilent N5767A */ { "Agilent", "N5767A", 0, ARRAY_AND_SIZE(agilent_n5700a_devopts), ARRAY_AND_SIZE(agilent_n5700a_devopts_cg), ARRAY_AND_SIZE(agilent_n5767a_ch), - ARRAY_AND_SIZE(agilent_n5767a_cg), + ARRAY_AND_SIZE(agilent_n5700a_cg), agilent_n5700a_cmd, .probe_channels = NULL, },