2600AS-901-01 Rev. B / September 2008
Return to
7-9
Series 2600A System SourceMeter® Instruments Reference Manual
Section 7: Reading Buffers
Note that
readings
is the default reading attribute and can be omitted. Thus, the following would
also return 100 Channel A readings from Buffer 1:
printbuffer(1, 100, smua.nvbuffer1)
Buffer status
The buffer reading status attribute can include the status information as a numeric value shown in
. For example to access status information for second element use the following
command:
stat_info = smua.nvbuffer1.statuses[2]
Table 7-7
Recall attributes
Recall attribute
1
Description
measurefunctions
An array (a Lua table) of strings indicating the function measured for
the reading (Current, Voltage, Ohms or Watts).
measureranges
An array (a Lua table) of full-scale range values for the measure range
used when the measurement was made.
readings
An array (a Lua table) of the readings stored in the reading buffer. This
array holds the same data that is returned when the reading buffer is
accessed directly, i.e., rb[2] and rb.readings[2] are the same value.
sourcefunctions
An array (a Lua table) of strings indicating the source function at the
time of the measurement (Current or Voltage).
sourceoutputstates
An array (a Lua table) of strings indicating the state of the source (Off or
On).
sourceranges
An array (a Lua table) of full-scale range values for the source range
used when the measurement was made.
sourcevalues
If enabled, an array (a Lua table) of the sourced values in effect at the
time of the reading.
statuses
An array (a Lua table) of status values for all of the readings in the
buffer. The status values are floating-point numbers that encode the
status value into a floating-point value (see
timestamps
An array (a Lua table) of time stamps, in seconds, of when each read-
ing occurred. These are relative to the
basetime stamp
for the buffer
(
1. The default attribute is
readings
and can be omitted. For example,
smua.nvbuffer1
and
smua.nvbuffer1.readings
will both return readings from Channel A, Buffer 1.
Table 7-8
Buffer status bits
Bit
Name
Hex value
Description
B0
TBD
0x01
Reserved for future use.
B1
Overtemp
0x02
Over temperature condition.
B2
AutoRangeMeas
0x04
Measure range was auto ranged.
B3
AutoRangeSrc
0x08
Source range was auto ranged.
B4
4Wire
0x10
4W (remote) sense mode enabled.
B5
Rel
0x20
Rel applied to reading.
B6
Compliance
0x40
Source function in compliance.
B7
Filtered
0x80
Reading was filtered.