User`s guide

Remarks
You can read the statistical values at any time.
This function returns the statistical peak-to-peak value for a collection of
readings (since statistics were enabled). This is different than the 2nd
Display peak-to-peak measurement, which measures high and low peaks
over a single measurement aperture.
The instrument clears the stored statistical data when statistics are
enabled, when the CALCulate:FUNCtion command is sent while
CALCulate:STATe is ON, when the power has been off, when the
CALCulate:AVERage:CLEar command is executed, after a Factory Reset
(*RST command), after an Instrument Preset (SYSTem:PRESet command),
or after a function change.