DATA:LAST? [<num_rdgs>,] (@<channel>)
Returns the most recent reading or readings taken on the selected channel during the scan.
Parameter Typical return
<num_rdgs> = Any integer from 1 to 1,000 readings
<channel> = A single channel
(none)
Returns the last reading on channel 101:
DATA:LAST? (@101)
Typical response: -1.93147367E-04
– Each reading is returned with some combination of measurement units, time stamp, channel number, and alarm
status information. Reading returned is depending on the settings set by the FORMat Subsystem commands.
– Readings returned in order, starting with the earliest reading in the group of recent measurements. If you specify
more readings than are currently saved in reading memory, the instrument generates an error message.
– Readings can be acquired during a scan using the multiplexer or multifunction modules.
– If no data is available for the specified channel, an error will be generated.
DATA:POINts? (@<ch_list>)
Returns the total number of readings currently saved in reading memory from a scan.
Parameter Typical return
(none) (none)
Returns the number of readings in reading memory:
DATA:POIN?
Typical response: +320
– All readings are automatically time stamped. If reading memory overflows, a bit in the
STATus:QUEStionable:CONDition? register is set and new readings will overwrite the first (oldest) readings
stored. The most recent readings are always preserved. Reading memory is not cleared when you read it.
– The questionable status bit will be cleared when reading memory is cleared. The questionable status bit will not
be cleared if reading memory is emptied with DATA:REMove? or R?.
– The instrument clears all readings from reading memory when a new scan is initiated, or after a Factory Reset
(*RST command).
Keysight DAQ970A/DAQ973A Programming Guide 109
2 SCPI Programming