14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-42 2470-901-01 Rev. A / May 2019
Output:
Volt DC, Volt DC, Volt DC
Also see
buffer.delete() (on page 14-9)
buffer.make() (on page 14-12)
bufferVar.clear() (on page 14-18)
print() (on page 14-99)
printbuffer() (on page 14-100)
Reading buffers (on page 6-1)
Remote buffer operation (on page 6-25)
buffer.write.format()
This function sets the units and number of digits of the readings that are written into the reading buffer.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
buffer.write.format(bufferVar, units, displayDigits)
buffer.write.format(bufferVar, units, displayDigits, extraUnits)
buffer.write.format(bufferVar, units, displayDigits, extraUnits, extraDigits)
The units for the first measurement in the
buffer index:
buffer.UNIT_AMP
buffer.UNIT_AMP_AC
buffer.UNIT_CELSIUS
buffer.UNIT_DECIBEL
buffer.UNIT_FAHRENHEIT
buffer.UNIT_FARAD
buffer.UNIT_HERTZ
buffer.UNIT_KELVIN
buffer.UNIT_OHM
buffer.UNIT_PERCENT
buffer.UNIT_RATIO
buffer.UNIT_RECIPROCAL
buffer.UNIT_SECOND
buffer.UNIT_VOLT
buffer.UNIT_VOLT_AC
buffer.UNIT_WATT
The number of digits to use for the first measurement:
buffer.DIGITS_3_5
buffer.DIGITS_4_5
buffer.DIGITS_5_5
buffer.DIGITS_6_5
buffer.DIGITS_7_5
The units for the second measurement in the buffer index; the selections are the same
as units (only valid for buffer style WRITABLE_FULL); if not specified, uses the value
for units