User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-117
dmm.buffer.info()
Example
Assume the system has the following reading buffers created: buf1, buf2, buf3,
buf4, and buf5.
Now, query the system for the size and capacity of each reading buffer without
formatting the results.
for n in dmm.buffer.catalog() do
print(dmm.buffer.info(n))
end
Output results:
0.000000000e+000
2.000000000e+003
0.000000000e+000
4.000000000e+003
0.000000000e+000
5.000000000e+003
0.000000000e+000
3.000000000e+003
0.000000000e+000
1.000000000e+003
Now, to query the system for the name, size, and capacity of each reading buffer while
formatting the results:
for n in dmm.buffer.catalog() do
size, cap = dmm.buffer.info(n)
print(n, 'size = ' .. size, 'capacity = ' .. cap)
end
Output results:
buf2
size = 0
capacity = 2000
buf4
size = 0
capacity = 4000
buf5
size = 0
capacity = 5000
buf3
size = 0
capacity = 3000
buf1
size = 0
capacity = 1000
dmm.buffer.maxcapacity
Attribute
Indicates the overall max capacity for reading buffers in the system.
Usage
maxcap = dmm.buffer.maxcapacity
maxcap: Number representing the overall max capacity for reading buffers