Series 2600 System SourceMeters Reference Manual Buffer (Data Store) 7-11
Return to Section 7 topics 2600S-901-01 Rev. A / May 2006
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.”
.