Specifications
RIGOL Chapter 2 Command System
2-42 M300 Programming Guide
DATA:REMove?
Syntax
DATA:REMove? <num_rdgs>
Description Read and clear the specified number (<num_rdgs>) of readings (the oldest readings)
from the non-volatile memory (refer to Appendix C: Non-volatile Memory).
Parameters
Name
Type
Range
Default
<num_rdgs>
Integer
1 to 10,0000
None
Explanation If the memory overflows during a scan, the new readings will overwrite the oldest
readings stored. You can use this command to read and clear the oldest readings to
avoid losing readings.
You can send this command to read and clear the specified number of readings
during or after a scan.
<num_rdgs> cannot be greater than the number of readings currently in the
memory,; otherwise, an error will be generated. You can send the
DATA:POINts?
command to query the number of readings currently in the memory.
The return value may consist of the readings, measurement units, time stamp,
channel number and alarm information, depending on the settings of the
FORMat
Command Subsystem commands. The time stamp can be either relative time (record
time of the reading relative to the beginning of the scan, the unit is s) or absolute
time (in YYYY,MM,DD,hh,mm,ss.sss form. It is determined by the current system
time set by the
SYSTem:DATE and SYSTem:TIME commands). You can use the
FORMat:READing:TIME:TYPE command to set the time type.
The instrument clears all readings from the memory when a new scan is initiated,
after a Factory Reset (the
*RST command) or after an Instrument Preset (the
SYSTem:PRESet command).
Return
Format
The query returns the specified number of readings (the format is set by the FORMat
Command Subsystem commands). Multiple return values are separated by commas.
Example
DATA:REM? 2
The query returns +1.27150000E+01,+1.32130000E+01.