buffervar
¶
The buffervar commands module.
These commands are used in the following models: SMU2450, SMU2460, SMU2461, SMU2470
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- bufferVar.capacity
- bufferVar.clear()
- bufferVar.dates[N]
- bufferVar.endindex
- bufferVar.extraformattedvalues[N]
- bufferVar.extravalues[N]
- bufferVar.extravalueunits[N]
- bufferVar.fillmode
- bufferVar.formattedreadings[N]
- bufferVar.fractionalseconds[N]
- bufferVar.logstate
- bufferVar.n
- bufferVar.readings[N]
- bufferVar.relativetimestamps[N]
- bufferVar.seconds[N]
- bufferVar.sourceformattedvalues[N]
- bufferVar.sourcestatuses[N]
- bufferVar.sourceunits[N]
- bufferVar.sourcevalues[N]
- bufferVar.startindex
- bufferVar.statuses[N]
- bufferVar.times[N]
- bufferVar.timestamps[N]
- bufferVar.units[N]
Buffervar
¶
Bases: BaseTSPCmd
The bufferVar command tree.
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
Properties and methods
.capacity: ThebufferVar.capacityattribute..clear(): ThebufferVar.clear()function..dates: ThebufferVar.dates[N]attribute..endindex: ThebufferVar.endindexattribute..extraformattedvalues: ThebufferVar.extraformattedvalues[N]attribute..extravalues: ThebufferVar.extravalues[N]attribute..extravalueunits: ThebufferVar.extravalueunits[N]attribute..fillmode: ThebufferVar.fillmodeattribute..formattedreadings: ThebufferVar.formattedreadings[N]attribute..fractionalseconds: ThebufferVar.fractionalseconds[N]attribute..logstate: ThebufferVar.logstateattribute..n: ThebufferVar.nattribute..readings: ThebufferVar.readings[N]attribute..relativetimestamps: ThebufferVar.relativetimestamps[N]attribute..seconds: ThebufferVar.seconds[N]attribute..sourceformattedvalues: ThebufferVar.sourceformattedvalues[N]attribute..sourcestatuses: ThebufferVar.sourcestatuses[N]attribute..sourceunits: ThebufferVar.sourceunits[N]attribute..sourcevalues: ThebufferVar.sourcevalues[N]attribute..startindex: ThebufferVar.startindexattribute..statuses: ThebufferVar.statuses[N]attribute..times: ThebufferVar.times[N]attribute..timestamps: ThebufferVar.timestamps[N]attribute..units: ThebufferVar.units[N]attribute.
capacity
property
writable
¶
capacity: str
Access the bufferVar.capacity attribute.
Description
- This attribute sets the number of readings a buffer can store.
Usage
- Accessing this property will send the
print(bufferVar.capacity)query. - Setting this property to a value will send the
bufferVar.capacity = valuecommand.
TSP Syntax
- bufferVar.capacity = value
- print(bufferVar.capacity)
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
| Raises: |
|
|---|
dates
property
¶
Access the bufferVar.dates[N] attribute.
Description
- This attribute contains the dates of readings that are stored in the reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.dates[N])query.
TSP Syntax
- print(bufferVar.dates[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
endindex
property
¶
endindex: str
Access the bufferVar.endindex attribute.
Description
- This attribute indicates the last index in a reading buffer.
Usage
- Accessing this property will send the
print(bufferVar.endindex)query.
TSP Syntax
- print(bufferVar.endindex)
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
| Raises: |
|
|---|
extraformattedvalues
property
¶
Access the bufferVar.extraformattedvalues[N] attribute.
Description
- This attribute contains the measurement and the unit of measure of the additional values in a reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.extraformattedvalues[N])query.
TSP Syntax
- print(bufferVar.extraformattedvalues[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
extravalues
property
¶
Access the bufferVar.extravalues[N] attribute.
Description
- This attribute contains the additional values in a reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.extravalues[N])query.
TSP Syntax
- print(bufferVar.extravalues[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
extravalueunits
property
¶
Access the bufferVar.extravalueunits[N] attribute.
Description
- This attribute contains the units of the additional values in a reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.extravalueunits[N])query.
TSP Syntax
- print(bufferVar.extravalueunits[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
fillmode
property
writable
¶
fillmode: str
Access the bufferVar.fillmode attribute.
Description
- This attribute determines if a reading buffer is filled continuously or is filled once and stops.
Usage
- Accessing this property will send the
print(bufferVar.fillmode)query. - Setting this property to a value will send the
bufferVar.fillmode = valuecommand.
TSP Syntax
- bufferVar.fillmode = value
- print(bufferVar.fillmode)
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
| Raises: |
|
|---|
formattedreadings
property
¶
Access the bufferVar.formattedreadings[N] attribute.
Description
- This attribute contains the stored readings shown as numbers with units and prefixes.
Usage
- Accessing an item from this property will send the
print(bufferVar.formattedreadings[N])query.
TSP Syntax
- print(bufferVar.formattedreadings[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
fractionalseconds
property
¶
Access the bufferVar.fractionalseconds[N] attribute.
Description
- This attribute contains the fractional second portion of the timestamp of each reading in the reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.fractionalseconds[N])query.
TSP Syntax
- print(bufferVar.fractionalseconds[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
logstate
property
writable
¶
logstate: str
Access the bufferVar.logstate attribute.
Description
- This attribute indicates if information events are logged when the specified reading buffer is at 0% or 100% filled.
Usage
- Accessing this property will send the
print(bufferVar.logstate)query. - Setting this property to a value will send the
bufferVar.logstate = valuecommand.
TSP Syntax
- bufferVar.logstate = value
- print(bufferVar.logstate)
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
| Raises: |
|
|---|
n
property
¶
n: str
Access the bufferVar.n attribute.
Description
- This attribute contains the number of readings in the specified reading buffer.
Usage
- Accessing this property will send the
print(bufferVar.n)query.
TSP Syntax
- print(bufferVar.n)
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
| Raises: |
|
|---|
readings
property
¶
Access the bufferVar.readings[N] attribute.
Description
- This attribute contains the readings stored in a specified reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.readings[N])query.
TSP Syntax
- print(bufferVar.readings[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
relativetimestamps
property
¶
Access the bufferVar.relativetimestamps[N] attribute.
Description
- This attribute contains the timestamps, in seconds, when each reading occurred, relative to the timestamp of the first entry in the reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.relativetimestamps[N])query.
TSP Syntax
- print(bufferVar.relativetimestamps[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
seconds
property
¶
Access the bufferVar.seconds[N] attribute.
Description
- This attribute contains the timestamp of a reading in seconds, in UTC format.
Usage
- Accessing an item from this property will send the
print(bufferVar.seconds[N])query.
TSP Syntax
- print(bufferVar.seconds[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
sourceformattedvalues
property
¶
Access the bufferVar.sourceformattedvalues[N] attribute.
Description
- This attribute contains the source levels formatted as they appear on the front-panel display when the readings in the reading buffer were acquired.
Usage
- Accessing an item from this property will send the
print(bufferVar.sourceformattedvalues[N])query.
TSP Syntax
- print(bufferVar.sourceformattedvalues[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
sourcestatuses
property
¶
Access the bufferVar.sourcestatuses[N] attribute.
Description
- This attribute contains the source status conditions of the instrument for the reading point.
Usage
- Accessing an item from this property will send the
print(bufferVar.sourcestatuses[N])query.
TSP Syntax
- print(bufferVar.sourcestatuses[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
sourceunits
property
¶
Access the bufferVar.sourceunits[N] attribute.
Description
- This attribute contains the units of measure of the source.
Usage
- Accessing an item from this property will send the
print(bufferVar.sourceunits[N])query.
TSP Syntax
- print(bufferVar.sourceunits[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
sourcevalues
property
¶
Access the bufferVar.sourcevalues[N] attribute.
Description
- This attribute contains the source levels being output when readings in the reading buffer were acquired.
Usage
- Accessing an item from this property will send the
print(bufferVar.sourcevalues[N])query.
TSP Syntax
- print(bufferVar.sourcevalues[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
startindex
property
¶
startindex: str
Access the bufferVar.startindex attribute.
Description
- This attribute indicates the starting index in a reading buffer.
Usage
- Accessing this property will send the
print(bufferVar.startindex)query.
TSP Syntax
- print(bufferVar.startindex)
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
| Raises: |
|
|---|
statuses
property
¶
Access the bufferVar.statuses[N] attribute.
Description
- This attribute contains the status values of readings in the reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.statuses[N])query.
TSP Syntax
- print(bufferVar.statuses[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
times
property
¶
Access the bufferVar.times[N] attribute.
Description
- This attribute contains the time when the instrument made the reading.
Usage
- Accessing an item from this property will send the
print(bufferVar.times[N])query.
TSP Syntax
- print(bufferVar.times[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
timestamps
property
¶
Access the bufferVar.timestamps[N] attribute.
Description
- This attribute contains the timestamp when each reading saved in the specified reading buffer occurred.
Usage
- Accessing an item from this property will send the
print(bufferVar.timestamps[N])query.
TSP Syntax
- print(bufferVar.timestamps[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
units
property
¶
Access the bufferVar.units[N] attribute.
Description
- This attribute contains the unit of measure that is stored with readings in the reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.units[N])query.
TSP Syntax
- print(bufferVar.units[N])
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.N, the reading number N; can be any value from 1 to the number of readings in the buffer; use the bufferVar.n command to determine the number of readings in the buffer.
| Raises: |
|
|---|
clear
¶
clear() -> None
Run the bufferVar.clear() function.
Description
- This function clears all readings and statistics from the specified buffer.
TSP Syntax
- bufferVar.clear()
Info
bufferVar, the name of the reading buffer, which may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
| Raises: |
|
|---|