Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-42
2470-901-01 Rev. A /
May
2019
Output:
Volt DC, Volt DC, Volt DC
Also see
(on page 14-9)
(on page 14-12)
(on page 14-18)
(on page 14-99)
(on page 14-100)
(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
Function
Yes
Usage
buffer.write.format(
bufferVar
,
units
,
displayDigits
)
buffer.write.format(
bufferVar
,
units
,
displayDigits, extraUnits)
buffer.write.format(
bufferVar
,
units
,
displayDigits, extraUnits, extraDigits
)
bufferVar
The name of the buffer
units
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_NONE
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
buffer.UNIT_X
displayDigits
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
buffer.DIGITS_8_5
extraUnits
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