User manual

Section 7: Buffer: Data Storage and Retrieval Series 3700 System Switch/Multimeter Reference Manual
7-10 3700S-901-01 Rev. C / July 2008
dmm.makebuffer()
Details,
continued
To see readings in buffer:
printbuffer(x, y, mybuffer)
x and y: represent reading numbers desired
To see readings, channels, and units:
printbuffer(x, y, mybuffer, mybuffer.channels,
mybuffer.units)
x and y: represent reading numbers desired
To see time stamps in buffer:
mybuffer.collecttimestamps = 1
print(x, y, mybuffer, mybuffer.timestamps)
x and y: represent readings and time stamps for elements x to y
To see seconds, fractional seconds, and relative time stamps,
mybuffer.collecttimestamps = 1
printbuffer(x,y, mybuffer.seconds)
printbuffer(x,y, mybuffer.fractionalseconds)
printbuffer(x,y, mybuffer.relativetimestamps)
Also see
Reading buffers (on page 7-12) for more information on reading buffer aspects in the
system
Example
To create a user reading buffer named mybuffer2, with a capacity of 300:
mybuffer2 = dmm.makebuffer(300)
To delete mybuffer2:
mybuffer2 = nil
dmm.savebuffer()
Function
Saves data from the specified dynamically-allocated buffer to the USB flash drive
using the specified filename.