8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-232 DMM7510-901-01 Rev. B / May 2015
printbuffer()
This function prints data from tables or reading buffer subtables.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
printbuffer(startIndex, endIndex, bufferVar)
printbuffer(startIndex, endIndex, bufferVar, bufferVar2)
printbuffer(startIndex, endIndex, bufferVar, ..., bufferVarN)
Beginning index of the buffer to print; this must be more than one
and less than endIndex
Ending index of the buffer to print; this must be more than
startIndex and less than the index of the last entry in the
tables
Name of first table or reading buffer subtable to print; may be a
default buffer (defbuffer1 or defbuffer2) or a user-defined
buffer
Second table or reading buffer subtable to print; may be a default
buffer (defbuffer1 or defbuffer2) or a user-defined buffer
The last table or reading buffer subtable to print; may be a default
buffer (
or
) or a user-defined buffer
One or more tables or reading buffer subtables separated with
commas
Details
If startIndex is set to less than 1 or if endIndex is more than the size of the index, 9.910000e+37
is returned for each value outside the allowed index and an event is generated.
If overlapped commands use the specified reading buffers and the commands are not complete (at
least to the specified index), this function outputs data as it becomes available.
When there are outstanding overlapped commands to acquire data, n refers to the index that the last
entry in the table has after all the readings have completed.
If you pass a reading buffer instead of a reading buffer subtable, the default subtable for that reading
buffer is used.
This command generates a single response message that contains all data.
The format.data attribute controls the format of the response message.
You can use the bufferVar attributes that are listed in the following table with the print buffer
command. For example, if testData is the buffer, you can use testData.dates attribute to print
the date of each reading in the testData buffer.
You can use bufferVar.n to retrieve the number of readings in the specified reading buffer.