[Sens[1]]:Data[:Latest]; [Sens[1]]:Data:fresh; Fetch; Read - Keithley 2750 User Manual

Multimeter/switch system
Hide thumbs Also See for 2750:
Table of Contents

Advertisement

Model 2750 Multimeter/Switch System User's Manual
[SENS[1]]:DATA[LATest]?

[SENS[1]]:DATA:FRESh?

These commands are used to return (read) the last processed data array stored in the sam-
ple buffer.

[SENS[1]]:DATA[:LATest]?

This command returns (reads) one data array. It returns the last processed data array stored
in the sample buffer. If, for example, 10 data arrays are stored in the sample buffer, only
the last (10
DATA? does not affect data in the sample buffer. Therefore, subsequent executions of
DATA? acquires the same data array. In order to return a new reading, you must first trig-
ger a new reading(s) and then use DATA?.
When using DATA? to retrieve data, it is good practice to include reading numbers in the
data arrays. Reading numbers that do not change will indicate that the same data array is
being returned.
NOTE
[SENS[1]]:DATA:FRESh?
This command is similar to DATA[:LATest]? in that is also returns the last processed data
array stored in the buffer. However, it can only be used once to retrieve the same data
array. That is, the data array reading must be "fresh." Sending this command again to read
the same (stale) data array will not work. It will generate an error (-230; data corrupt or
stale) or cause the GPIB to time-out. In order for DATA:FRESh? to respond, you must first
trigger a new (fresh) reading.
Using this command to retrieve data ensures that only new (fresh) readings are returned
(no readings are repeated). However, as previously noted, problems may occur if a new
reading is not ready (available) when this command is executed.

FETCh?

READ?

MEASure?

CALC[1]:DATA[LATest]?

CALC[1]:DATA:FRESh?

As shown in
CALC1 Math block. However, if there is no Math function enabled, these commands read
the data arrays in the sample buffer.
th
) data array is returned.
The FORMat:ELEMents command (see
ing number (RNUM) element in each data array.
Figure
D-4, these commands are used to read data arrays output from the
Signal Processing Sequence and Data Flow
Section
14) is used to include the read-
D-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents