Section 3: Functions and features Model 2651A High Power System SourceMeter® Instrument Reference Manual
3-16 2651A-901-01 Rev. A / March 2011
Buffer status
The buffer reading status attribute can include the status information as a numeric value; see the
following table for values. For example, to access status information for second element, use the
following command:
stat_info = smua.nvbuffer1.statuses[2]
Buffer status bits
Bit Name Hex value Description
B0 FastADC 0x01 Fast ADC was used to make the reading
B1 Overtemp 0x02 Over temperature condition
B2 AutoRangeMeas 0x04 Measure range was autoranged
B3 AutoRangeSrc 0x08 Source range was autoranged
B4 4Wire 0x10 4-wire (remote) sense mode enabled
B5 Rel 0x20 Rel applied to reading
B6 Compliance 0x40 Source function in compliance
B7 Filtered 0x80 Reading was filtered
Dynamic reading buffers
Reading buffers can also be allocated dynamically. Dynamic reading buffers are created and
allocated with the smua.makebuffer(n) command, where n is the number of readings the buffer
can store. For example, the following command allocates a reading buffer named mybuffer that
can store 100 readings:
mybuffer = smua.makebuffer(100)
Allocated reading buffers can be deleted as follows:
mybuffer = nil
Dynamically allocated reading buffers can be used interchangeably with the smua.nvbufferY
buffers that are described in Reading buffer designations
(on page 3-10).