X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/1574729632acebdcdf8caa025dcb67c6ac3804fc..811f1259bdfc86f06fb13d7cde80befb4a808063:/scope.c diff --git a/scope.c b/scope.c index 9b75ba4..ef14e72 100644 --- a/scope.c +++ b/scope.c @@ -268,5 +268,8 @@ int update_scope_status(struct scope *sc) sc->status.timebase.scale = scope_get_double(sc, ":TIM:SCAL?"); COPY_SCOPE_STRING(sc, ":TIM:FORM?", sc->status.timebase.format); + sc->status.math.displayed = scope_get_truth_value(sc, ":MATH:DISP?"); + sc->status.fft.displayed = scope_get_truth_value(sc, ":FFT:DISP?"); + return 0; }