DATA:LAST?
Syntax
DATA:LAST? [,(@<channel>)]
Description
This command returns the last measurement taken on the specified channel (single channel only). You can execute this command at any time, even during a scan. If you omit the optional <channel> parameter, this command applies to the internal DMM, independent of any channels or a scan list.
Used With:
34921A through 34925A Multiplexer Modules
34950A Digital I/O Module (digital input and counter channels only)
34952A Multifunction Module (digital input and totalizer channels only)
Parameters
Name |
Type |
Range of Values |
Default Value |
<channel> |
Numeric |
One channel in the form (@sccc). |
If <channel> is omitted, this command applies to the internal DMM. |
Remarks
Readings can be acquired during a scan using the multiplexer or digital modules or by the internal DMM independently (if no channel is specified).
Each reading is returned with measurement units, time stamp, channel number, and alarm status information (independent of the present settings by the FORMat:READing commands). The time stamp is stored in absolute time format (time of day with date), which is based on the instrument's real-time clock as set by the SYSTem:DATE and SYSTem:TIME commands.
The instrument clears all readings from memory when mainframe power is cycled.
Return Format
The command returns one reading for the specified channel (or the internal DMM). If readings are acquired using the internal DMM independently (without a multiplexer scan), the channel number will be logged as channel "0". If no data is available for the specified channel, "0" is returned for each field.
For example:
1 Reading
with Units (26.195 |
4 Channel Number |
2 Date (November 21, 2004) 3 Time of Day (3:30:23.000 PM) |
5 Alarm
Limit Threshold Crossed |
Examples
The following query returns the last reading on channel 8 in slot 1.
DATA:LAST? (@1008)
Typical Response: +1.84280000E-05 VDC,2004,11,21,14,54,33.104,1008,0
The following query returns the last reading taken by the internal DMM.
DATA:LAST?
Typical Response: +1.00000000E+38 OHM,2004,11,21,15,04,24.386,0,0