[Sens[1]]:Data[Latest]; [Sens[1]]:Data:fresh - Keithley SourceMeter 2790 Reference Manual

Hide thumbs Also See for SourceMeter 2790:
Table of Contents

Advertisement

Model 2790 SourceMeter

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

[SENS[1]]:DATA:FRESh?

These commands are used to return (read) the last processed data array stored in the sample
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 trigger
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.
klqb
[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.
®
Switch System Reference Manual
th
) data array is returned.
The FORMat:ELEMents command (see
number (RNUM) element in each data array.
Section
14) is used to include the reading
C-9

Advertisement

Table of Contents
loading

Table of Contents