
Model 2790 SourceMeter
®
Switch System Reference Manual
C-9
[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
th
) data array is returned.
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
The FORMat:ELEMents command (see
) is used to include the reading
number (RNUM) element in each data array.
[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.
Summary of Contents for 2790
Page 3: ......
Page 7: ......
Page 105: ...2 48 Model 2790 SourceMeter Switch System Reference Manual...
Page 245: ...7 40 Model 2790 SourceMeter Switch System Reference Manual...
Page 265: ...8 20 Model 2790 SourceMeter Switch System Reference Manual...
Page 305: ...10 22 Model 2790 SourceMeter Switch System Reference Manual...
Page 328: ...12 CommonCommands...
Page 336: ...13 SCPISignalOriented MeasurementCommands...
Page 345: ...13 10 Model 2790 SourceMeter Switch System Reference Manual...
Page 355: ...14 10 Model 2790 SourceMeter Switch System Reference Manual...
Page 356: ...15 SCPIReferenceTables...
Page 419: ...16 38 Model 2790 SourceMeter Switch System Reference Manual...
Page 461: ...A 2 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 462: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 3...
Page 463: ...A 4 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 464: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 5...
Page 465: ...A 6 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 466: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 7...
Page 471: ...A 12 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 472: ...B StatusandErrorMessages...
Page 479: ...B 8 Model 2790 SourceMeter Switch System Reference Manual...
Page 493: ...C 14 Model 2790 SourceMeter Switch System Reference Manaul...
Page 509: ...E 6 Model 2790 SourceMeter Switch System Reference Manual...
Page 510: ...F IEEE 488BusOverview...
Page 525: ...F 16 Model 2790 SourceMeter Switch System Reference Manual...
Page 526: ...G CalibrationReference...