hameg-hmo: Allow retrieving frame limit
This commit is contained in:
parent
7c48d434f0
commit
98c7ef378c
|
@ -259,6 +259,9 @@ static int config_get(uint32_t key, GVariant **data,
|
|||
}
|
||||
*data = g_variant_new_double(state->digital_pods[idx].user_threshold);
|
||||
break;
|
||||
case SR_CONF_LIMIT_FRAMES:
|
||||
*data = g_variant_new_uint64(devc->frame_limit);
|
||||
break;
|
||||
default:
|
||||
return SR_ERR_NA;
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ static const char *rohde_schwarz_log_not_pod_scpi_dialect[] = {
|
|||
static const uint32_t devopts[] = {
|
||||
SR_CONF_OSCILLOSCOPE,
|
||||
SR_CONF_LIMIT_SAMPLES | SR_CONF_SET,
|
||||
SR_CONF_LIMIT_FRAMES | SR_CONF_SET,
|
||||
SR_CONF_LIMIT_FRAMES | SR_CONF_GET | SR_CONF_SET,
|
||||
SR_CONF_SAMPLERATE | SR_CONF_GET,
|
||||
SR_CONF_TIMEBASE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
|
||||
SR_CONF_NUM_HDIV | SR_CONF_GET,
|
||||
|
|
Loading…
Reference in New Issue