- send_text(s, "Display: ");
- send_command_output(s, sc, ":DISP:TYPE?");
- send_text(s, ", ");
- send_command_output(s, sc, ":DISP:SCR?");
- send_text(s, ", Grid: ");
- send_command_output(s, sc, ":DISP:GRID?");
- send_text(s, ", Persistence: ");
- send_command_output(s, sc, ":DISP:PERS?");
- send_text(s, ", Menu: ");
- send_command_output(s, sc, ":DISP:MNUS?");
- send_text(s, ", Brightness: ");
- send_command_output(s, sc, ":DISP:BRIG?");
- send_text(s, ", Intensity: ");
- send_command_output(s, sc, ":DISP:INT?");
- send_text(s, "<br>\n");
+ send_text(s, "Measure CH2:<br>\n");
+ send_text(s, "VPP: %lg, VMAX: %lg, VMIN: %lg, VAMPLITUDE: %lg, VTOP: %lg, VBASE: %lg, VAVERAGE: %lg, VRMS: %lg<br>\n",
+ sc->status.measure.ch2.vpp,
+ sc->status.measure.ch2.vmax,
+ sc->status.measure.ch2.vmin,
+ sc->status.measure.ch2.vamplitude,
+ sc->status.measure.ch2.vtop,
+ sc->status.measure.ch2.vbase,
+ sc->status.measure.ch2.vaverage,
+ sc->status.measure.ch2.vrms);
+
+ send_text(s, "Overshoot: %lg, Preshoot: %lg<br>\n",
+ sc->status.measure.ch2.overshoot,
+ sc->status.measure.ch2.preshoot);
+
+ send_text(s, "Frequency: %lg, Risetime: %lg, Falltime: %lg<br>\n",
+ sc->status.measure.ch2.frequency,
+ sc->status.measure.ch2.risetime,
+ sc->status.measure.ch2.falltime);
+
+ send_text(s, "Period: %lg, Pwidth: %lg, Nwidth: %lg, Pdutycycle: %lg, Ndutycycle: %lg<br>\n",
+ sc->status.measure.ch2.period,
+ sc->status.measure.ch2.pwidth,
+ sc->status.measure.ch2.nwidth,
+ sc->status.measure.ch2.pdutycycle,
+ sc->status.measure.ch2.ndutycycle);
+
+ send_text(s, "Pdelay: %lg, Ndelay: %lg<br>\n",
+ sc->status.measure.ch2.pdelay,
+ sc->status.measure.ch2.ndelay);
+
+ send_text(s, "Acquire: Type: %s, Mode: %s, Averages: %d<br>\n",
+ sc->status.acquire.type,
+ sc->status.acquire.mode,
+ sc->status.acquire.averages);
+
+ send_text(s, "Horizontal: Mode: %s, Offset: %lg, Delayed Offset: %lg, Scale: %lg, Format: %s<br><br>\n",
+ sc->status.timebase.mode,
+ sc->status.timebase.offset,
+ sc->status.timebase.delayed_offset,
+ sc->status.timebase.scale,
+ sc->status.timebase.format);
+
+ send_text(s, "Display: Type: %s, Grid: %s, Persist: %d, MNUDisplay: %s, MNUStatus: %d, Screen: %s, Brightnbess: %d, Intensity: %d<br><br>\n",
+ sc->status.display.type,
+ sc->status.display.grid,
+ sc->status.display.persist,
+ sc->status.display.mnudisplay,
+ sc->status.display.mnustatus,
+ sc->status.display.screen,
+ sc->status.display.brightness,
+ sc->status.display.intensity);