Specifications

Chapter 2 Command System RIGOL
M300 Programming Guide 2-39
DATA Command Subsystem
DATA:LAST?
DATA:POINts?
DATA:POINts:EVENt:THReshold
DATA:REMove?
DATA:LAST?
Syntax
DATA:LAST? [<num_rdgs>,](@<channel>)
Description Query the most recent reading or readings taken on the specified channel during the
scan.
Parameters
Name
Type
Range
Default
<num_rdgs> Integer
1 to the number of readings stored in the
internal memory for the specified channel.
1
[1]
<channel> Channel
One channel (for the multiplexer channel, DIO
channel and TOT channel), the rules are as
follows:
(@101): channel 01 on the module in Slot1;
None
Note
[1]
: When you omit this parameter, this query returns the most recent reading during the scan.
Explanation Readings can be acquired during a scan or after scan by using this command. If there
were no scan readings in the internal memory, the instrument generates an error
after sending this command.
The query returns the readings in time order, starting with the earliest reading.
When <num_rdgs> is greater than the number of readings stored in the internal
memory of the specified channel, the instrument generates an error.
<channel> has to be part of the scan list. Otherwise, an error will be generated.
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.
Return
Format
The query returns one or more readings on the specified channel in the following format.
Multiple return values are separated by commas.
Format Explanation
3.296507075E-03 V,2012,11,21,16,46,49.506,102,1
Reading+Unit Date Time Channel Number Alarm Limit Type
Wherein, the definition of Alarm Limit Type: 0=None; 1=LO; 2=HI; 3=HI+LO.
Example DATA:LAST? (@101)
The query returns 2.332050726E-03 V,2012,11,21,16,50,03.731,101,1.