8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-234 DMM7510-901-01 Rev. B / May 2015
Example 2
printbuffer(x,x,testData, testData.units, testData.relativetimestamps)
Using the same buffer created in Example 1, output the readings, units and relative timestamps on a separate
line for each reading.
1.10458e-11, Amp DC, 0.00000e+00
1.19908e-11, Amp DC, 1.01858e-01
1.19908e-11, Amp DC, 2.03718e-01
1.20325e-11, Amp DC, 3.05581e-01
1.20603e-11, Amp DC, 4.07440e-01
1.20325e-11, Amp DC, 5.09299e-01
Also see
bufferVar.n (on page 8-32)
bufferVar.readings (on page 8-33)
format.asciiprecision (on page 8-214)
format.byteorder (on page 8-215)
format.data (on page 8-216)
printnumber() (on page 8-234)
printnumber()
This function prints numbers using the configured format.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
printnumber(value1)
printnumber(value1, value2)
printnumber(value1, ..., valueN)
First value to print in the configured format
Second value to print in the configured format
Last value to print in the configured format
One or more values separated with commas
Details
There are multiple ways to use this function, depending on how many numbers are to be printed.
This function prints the given numbers using the data format specified by format.data and
format.asciiprecision.