Buffervar.logstate - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference
Example
reset()
testData = buffer.make(50)
trigger.model.load("SimpleLoop", 6, 0,
testData)
trigger.model.initiate()
waitcomplete()
print(testData.fractionalseconds[1])
printbuffer(1, 6, testData.fractionalseconds)
Also see
bufferVar.seconds
buffer.delete()
buffer.make()
bufferVar.clear()
print()
(on page 8-77)
printbuffer()
(on page 8-78)
Reading buffers
Remote buffer operation

bufferVar.logstate

This attribute indicates whether the reading buffer should log informational events.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
logState = bufferVar.logstate
bufferVar.logstate = logState
logState
bufferVar
8-22
(on page 8-26)
(on page 8-9)
(on page 8-11)
(on page 8-17)
(on page 3-10)
(on page 3-27)
Affected by
Restore configuration
Instrument reset
Power cycle
Log information events: buffer.ON or 1
Do not log information events: buffer.OFF or 0
The name of the reading buffer, which may be a default buffer (defbuffer1 or
defbuffer2) or a user-defined buffer
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Create a reading buffer named testData
and make six measurements.
Print the fractional portion of the timestamp
for the first reading in the buffer.
Example output:
0.647118937
Print the fractional portion of the timestamp
for the first six readings in the buffer.
Example output:
0.647118937, 0.064543,
0.48196127, 0.89938724,
0.316800064, 0.734218263
Where saved
Configuration script
Default value
defbuffer1: buffer.ON (1)
defbuffer2: buffer.ON (1)
User-created buffer: buffer.OFF (0)
2450-901-01 Rev. B/September 2013

Advertisement

Table of Contents
loading

Table of Contents