14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-44 2470-901-01 Rev. A / May 2019
Also see
buffer.make() (on page 14-12)
buffer.write.reading() (on page 14-44)
Reading buffers (on page 6-1)
Writable reading buffers (on page 6-31)
buffer.write.reading()
This function allows you to write readings into the reading buffer.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
For buffers that are set to the writable buffer style:
buffer.write.reading(bufferVar, readingValue)
buffer.write.reading(bufferVar, readingValue, seconds)
buffer.write.reading(bufferVar, readingValue, seconds, fractionalSeconds)
buffer.write.reading(bufferVar, readingValue, seconds, fractionalSeconds, status)
For buffers that are set to the full writable buffer style:
buffer.write.reading(bufferVar, readingValue, extraValue)
buffer.write.reading(bufferVar, readingValue, extraValue, seconds)
buffer.write.reading(bufferVar, readingValue, extraValue, seconds, fractionalSeconds)
buffer.write.reading(bufferVar, readingValue, extraValue, seconds, fractionalSeconds,
status)
The first value that is recorded in the buffer index
A second value that is recorded in the buffer index (only valid for buffer style
WRITABLE_FULL
)
An integer that represents the seconds
The portion of the time that represents the fractional seconds
Additional information about the reading; see Details
Details
This command writes the data you specify into a reading buffer. The reading buffer must be set to the
writable or full writable style, which is set when you make the buffer.
Data must be added in chronological order. If the time is not specified for a reading, it is set to one
integer second after the last reading. As you write the data, the front-panel home screen updates and
displays the reading you entered.