High Voltage SourceMeter Instrument Reference Manual Section 14: TSP comm
2470-901-01 Rev. A / May 2019 14-45
The status parameter provides additional information about the reading. The options are shown in
the following table.
Parameter Description
Reading is above high limit 1
Reading is below low limit 1
Reading is above high limit 2
Reading is below high limit 2
A/D converter from which reading
originated; for the 2470, this will always be 0
Measure status questionable
Measure terminal, front is 1, rear is 0
Example 1
extBuffer = buffer.make(100, buffer.STYLE_WRITABLE)
buffer.write.format(extBuffer, buffer.UNIT_WATT, buffer.DIGITS_3_5)
buffer.write.reading(extBuffer, 1)
buffer.write.reading(extBuffer, 2)
buffer.write.reading(extBuffer, 3)
buffer.write.reading(extBuffer, 4)
buffer.write.reading(extBuffer, 5)
buffer.write.reading(extBuffer, 6)
printbuffer(1, 6, extBuffer.readings, extBuffer.units)
Creates a 100-point reading buffer named extBuffer. Style is writable.
Set the data format to show units of watts with 3½ digit resolution.
Write 6 pieces of data into the buffer.
Print the buffer, including the readings and units.
Read the buffer.
Output:
1, Watt DC, 2, Watt DC, 3, Watt DC, 4, Watt DC, 5, Watt DC, 6, Watt DC
Example 2
extBuffer = buffer.make(100, buffer.STYLE_WRITABLE_FULL)
buffer.write.format(extBuffer, buffer.UNIT_WATT, buffer.DIGITS_3_5,
buffer.UNIT_WATT, buffer.DIGITS_3_5)
buffer.write.reading(extBuffer, 1, 7)
buffer.write.reading(extBuffer, 2, 8)
buffer.write.reading(extBuffer, 3, 9)
buffer.write.reading(extBuffer, 4, 10)
buffer.write.reading(extBuffer, 5, 11)
buffer.write.reading(extBuffer, 6, 12)
printbuffer(1, 6, extBuffer.readings, extBuffer.units, extBuffer.extravalues,
Creates a 100-point reading buffer named
extBuffer
. Style is full writable.
Set the data format to show units of watts with 3½ digit resolution for the first value and for the second value in
the buffer index.
Write 12 pieces of data into the buffer.
Print the buffer, including the readings and units.