X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fscpi-pps%2Fprofiles.c;h=efec3ce9b49bcfd8e5443296c99f0ac6d4237e67;hb=0ad7074c9e15ce1ef0a6027cc1e3eab1cc813316;hp=93718be1c97dfe7c470c903756d4cb8ccebf71ab;hpb=dbc519f72038baff3bc026e45efa683e95880c19;p=libsigrok.git diff --git a/src/hardware/scpi-pps/profiles.c b/src/hardware/scpi-pps/profiles.c index 93718be1..efec3ce9 100644 --- a/src/hardware/scpi-pps/profiles.c +++ b/src/hardware/scpi-pps/profiles.c @@ -444,6 +444,7 @@ static const uint32_t hp_6630a_devopts_cg[] = { SR_CONF_CURRENT_LIMIT | SR_CONF_SET | SR_CONF_LIST, SR_CONF_OVER_VOLTAGE_PROTECTION_THRESHOLD | SR_CONF_SET | SR_CONF_LIST, SR_CONF_OVER_CURRENT_PROTECTION_ENABLED | SR_CONF_SET, + SR_CONF_REGULATION | SR_CONF_GET, }; static const struct channel_spec hp_6633a_ch[] = { @@ -464,6 +465,7 @@ static const struct scpi_command hp_6630a_cmd[] = { { SCPI_CMD_SET_OVER_CURRENT_PROTECTION_ENABLE, "OCP 1" }, { SCPI_CMD_SET_OVER_CURRENT_PROTECTION_DISABLE, "OCP 0" }, { SCPI_CMD_SET_OVER_VOLTAGE_PROTECTION_THRESHOLD, "OVSET %.4f" }, + { SCPI_CMD_GET_OUTPUT_REGULATION, "STS?" }, ALL_ZERO };