Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-43
buffer.write.reading()
This function allows you to write readings into the reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
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
)
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
)
bufferVar
The name of the buffer
readingValue
The first value that is recorded in the buffer index
extraValue
A second value that is recorded in the buffer index (only valid for buffer style
WRITABLE_FULL
)
seconds
An integer that represents the seconds
fractionalSeconds
The portion of the time that represents the fractional seconds
status
The reading that is the start of each group of readings:
buffer.STAT_START_GROUP
; can be used to graph a family of curves
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.