7-8 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 7: Buffer (Data Store) Series 2600 System SourceMeter® Instruments Reference Manual
Buffer status
The buffer reading status attribute can include the status information as a numeric value shown in
Table 7-7. To access status information, send the following command:
stat_info = smua.nvbuffer1.statuses[2]
Table 7-7
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 Compliance1 0x40 Source function in compliance.
B7 Filtered 0x80 Reading was filtered.
Dynamically allocated buffers
RAM reading buffers can also be allocated dynamically. The buffers are created and allocated with
the smuX.makebuffer(n) command, where n is the number of readings the buffer can store.
For example, the following command allocates a Channel A buffer named mybuffer that can
store 100 readings:
mybuffer = smua.makebuffer(100)
Allocated buffers can be deleted as follows:
mybuffer = nil
Dynamically allocated reading buffers can be used interchangeably with the smuX.nvbufferY
buffers that are described earlier in this section in “"Reading buffer designations".”
.