DATA Subsystem

This subsystem allows you to configure and remove data from reading memory. The instrument clears all measurements from reading memory when the measurement configuration changes, or when any of these commands are executed: INITiate, MEASure:<function>?, READ?, *RST, SYSTem:PRESet.

Command Summary

DATA:LAST?

DATA:POINts?

DATA:POINts:EVENt:THReshold

DATA:REMove?

DATA:LAST?

Returns the last measurement taken. You can execute this query at any time, even during a series of measurements.

Parameter Typical Return
(none) (none)
Return the last measurement:

DATA:LAST?

Typical Response: One measurement with units. If no data is available, 9.91E37 (Not a Number) is returned with units.

Example: +1.73730000E+00 VDC

DATA:POINts?

Returns the total number of measurements currently in reading memory. You can execute this query at any time, even during a series of measurements.

Parameter Typical Return
(none) (none)

Return the number of measurements in reading memory:

DATA:POIN?

Typical Response: +215

DATA:POINts:EVENt:THReshold <count>
DATA:POINts:EVENt:THReshold?

Sets the number of measurements to store in reading memory before setting bit 9 in the Standard Operation Register group event register to 1. An event register is a read-only register that latches events from the condition register. While an event bit is set, subsequent events corresponding to that bit are ignored.

Note

For more information on the SCPI Status System, see Status Subsystem Introduction.


Parameter Typical Return

34460A: 1 to 1,000 readings
34461A: 1 to 10,000 readings
34465A/70A: 1 to 50,000 readings (without the MEM option), or 1 to 2,000,000 readings (with the MEM option) 

The default value is 1 for both models.

+125
Set the reading memory threshold to 125 measurements:

DATA:POIN:EVEN:THR 125

DATA:REMove? <num_readings> [,WAIT]

Reads and erases <num_readings> measurements from the reading memory. If fewer than <num_readings> measurements are available, the query returns an error unless the WAIT parameter is specified, in which case the query waits until <num_readings measurements are available.

Parameter Typical Return

34460A: 1 to 1,000 readings
34461A: 1 to 10,000 readings
34465A/70A: 1 to 50,000 readings (without the MEM option), or 1 to 2,000,000 readings (with the MEM option) 

(none)

Read and erase the three oldest readings from reading memory:

DATA:REMove? 3

Typical Response: -4.97215654E-01,-4.97343268E-01,-4.97121213E-01