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