buffervar
¶
The buffervar commands module.
These commands are used in the following models: SMU2601B, SMU2602B, SMU2604B, SMU2606B, SMU2611B, SMU2612B, SMU2614B, SMU2634B, SMU2635B, SMU2636B, SMU2651A, SMU2657A
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- bufferVar.appendmode
- bufferVar.basetimestamp
- bufferVar.cachemode
- bufferVar.capacity
- bufferVar.clear()
- bufferVar.clearcache()
- bufferVar.collectsourcevalues
- bufferVar.collecttimestamps
- bufferVar.fillcount
- bufferVar.fillmode
- bufferVar.measurefunctions[N]
- bufferVar.measureranges[N]
- bufferVar.n
- bufferVar.readings[N]
- bufferVar.sourcefunctions[N]
- bufferVar.sourceoutputstates[N]
- bufferVar.sourceranges[N]
- bufferVar.sourcevalues[N]
- bufferVar.statuses[N]
- bufferVar.timestampresolution
- bufferVar.timestamps[N]
Buffervar
¶
Bases: BaseTSPCmd
The bufferVar command tree.
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
Properties and methods
.appendmode: ThebufferVar.appendmodeattribute..basetimestamp: ThebufferVar.basetimestampattribute..cachemode: ThebufferVar.cachemodeattribute..capacity: ThebufferVar.capacityattribute..clear(): ThebufferVar.clear()function..clearcache(): ThebufferVar.clearcache()function..collectsourcevalues: ThebufferVar.collectsourcevaluesattribute..collecttimestamps: ThebufferVar.collecttimestampsattribute..fillcount: ThebufferVar.fillcountattribute..fillmode: ThebufferVar.fillmodeattribute..measurefunctions: ThebufferVar.measurefunctions[N]attribute..measureranges: ThebufferVar.measureranges[N]attribute..n: ThebufferVar.nattribute..readings: ThebufferVar.readings[N]attribute..sourcefunctions: ThebufferVar.sourcefunctions[N]attribute..sourceoutputstates: ThebufferVar.sourceoutputstates[N]attribute..sourceranges: ThebufferVar.sourceranges[N]attribute..sourcevalues: ThebufferVar.sourcevalues[N]attribute..statuses: ThebufferVar.statuses[N]attribute..timestampresolution: ThebufferVar.timestampresolutionattribute..timestamps: ThebufferVar.timestamps[N]attribute.
appendmode
property
writable
¶
appendmode: str
Access the bufferVar.appendmode attribute.
Description
- This attribute sets the state of the append mode of the reading buffer.
Usage
- Accessing this property will send the
print(bufferVar.appendmode)query. - Setting this property to a value will send the
bufferVar.appendmode = valuecommand.
TSP Syntax
- bufferVar.appendmode = value
- print(bufferVar.appendmode)
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|
basetimestamp
property
¶
basetimestamp: str
Access the bufferVar.basetimestamp attribute.
Description
- This attribute contains the timestamp that indicates when the first reading was stored in the buffer.
Usage
- Accessing this property will send the
print(bufferVar.basetimestamp)query.
TSP Syntax
- print(bufferVar.basetimestamp)
Info
bufferVar, the reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).
| Raises: |
|
|---|
cachemode
property
writable
¶
cachemode: str
Access the bufferVar.cachemode attribute.
Description
- This attribute enables or disables the reading buffer cache (on or off).
Usage
- Accessing this property will send the
print(bufferVar.cachemode)query. - Setting this property to a value will send the
bufferVar.cachemode = valuecommand.
TSP Syntax
- bufferVar.cachemode = value
- print(bufferVar.cachemode)
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|
capacity
property
¶
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.
TSP Syntax
- print(bufferVar.capacity)
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|
collectsourcevalues
property
writable
¶
collectsourcevalues: str
Access the bufferVar.collectsourcevalues attribute.
Description
- This attribute sets whether or not source values are stored with the readings in the buffer.
Usage
- Accessing this property will send the
print(bufferVar.collectsourcevalues)query. - Setting this property to a value will send the
bufferVar.collectsourcevalues = valuecommand.
TSP Syntax
- bufferVar.collectsourcevalues = value
- print(bufferVar.collectsourcevalues)
Info
bufferVar, the reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).
| Raises: |
|
|---|
collecttimestamps
property
writable
¶
collecttimestamps: str
Access the bufferVar.collecttimestamps attribute.
Description
- This attribute sets whether or not timestamp values are stored with the readings in the buffer.
Usage
- Accessing this property will send the
print(bufferVar.collecttimestamps)query. - Setting this property to a value will send the
bufferVar.collecttimestamps = valuecommand.
TSP Syntax
- bufferVar.collecttimestamps = value
- print(bufferVar.collecttimestamps)
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|
fillcount
property
writable
¶
fillcount: str
Access the bufferVar.fillcount attribute.
Description
- This attribute sets the reading buffer fill count.
Usage
- Accessing this property will send the
print(bufferVar.fillcount)query. - Setting this property to a value will send the
bufferVar.fillcount = valuecommand.
TSP Syntax
- bufferVar.fillcount = value
- print(bufferVar.fillcount)
Info
bufferVar, the reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).
| Raises: |
|
|---|
fillmode
property
writable
¶
fillmode: str
Access the bufferVar.fillmode attribute.
Description
- This attribute sets the reading buffer fill mode.
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 reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).
| Raises: |
|
|---|
measurefunctions
property
¶
Access the bufferVar.measurefunctions[N] attribute.
Description
- This attribute contains the measurement function that was used to acquire a reading stored in a specified reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.measurefunctions[N])query.
TSP Syntax
- print(bufferVar.measurefunctions[N])
Info
bufferVar, the reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).N, the reading number (1 to bufferVar.n).
| Raises: |
|
|---|
measureranges
property
¶
Access the bufferVar.measureranges[N] attribute.
Description
- This attribute contains the measurement range values that were used for readings stored in a specified buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.measureranges[N])query.
TSP Syntax
- print(bufferVar.measureranges[N])
Info
bufferVar, the reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).N, the reading number (1 to bufferVar.n).
| Raises: |
|
|---|
n
property
¶
n: str
Access the bufferVar.n attribute.
Description
- This attribute contains the number of readings in the buffer.
Usage
- Accessing this property will send the
print(bufferVar.n)query.
TSP Syntax
- print(bufferVar.n)
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading 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 reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading 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: |
|
|---|
sourcefunctions
property
¶
Access the bufferVar.sourcefunctions[N] attribute.
Description
- This attribute contains the source function that was being used when the readings were stored in a specified reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.sourcefunctions[N])query.
TSP Syntax
- print(bufferVar.sourcefunctions[N])
Info
bufferVar, the reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).N, the reading number (1 to bufferVar.n).
| Raises: |
|
|---|
sourceoutputstates
property
¶
Access the bufferVar.sourceoutputstates[N] attribute.
Description
- This attribute indicates the state of the source output for readings that are stored in a specified buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.sourceoutputstates[N])query.
TSP Syntax
- print(bufferVar.sourceoutputstates[N])
Info
bufferVar, the reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).N, the reading number (1 to bufferVar.n).
| Raises: |
|
|---|
sourceranges
property
¶
Access the bufferVar.sourceranges[N] attribute.
Description
- This attribute contains the source range that was used for readings stored in a specified reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.sourceranges[N])query.
TSP Syntax
- print(bufferVar.sourceranges[N])
Info
bufferVar, the reading buffer; can be a dynamically allocated buffer (user-defined), or a dedicated reading buffer (such as smua.nvbuffer1).N, the reading number (1 to bufferVar.n).
| Raises: |
|
|---|
sourcevalues
property
¶
Access the bufferVar.sourcevalues[N] attribute.
Description
- When enabled by the bufferVar.collectsourcevalues attribute, 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 reading buffer; can be a dynamically allocated buffer (user-defined) or a dedicated reading buffer (such as smua.nvbuffer1).N, the reading number (1 to bufferVar.n).
| 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 reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading 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: |
|
|---|
timestampresolution
property
writable
¶
timestampresolution: str
Access the bufferVar.timestampresolution attribute.
Description
- This attribute contains the resolution of the timestamp.
Usage
- Accessing this property will send the
print(bufferVar.timestampresolution)query. - Setting this property to a value will send the
bufferVar.timestampresolution = valuecommand.
TSP Syntax
- bufferVar.timestampresolution = value
- print(bufferVar.timestampresolution)
Info
resolution, the timestamp resolution in seconds (minimum 1 µs; rounded to an even power of 2 µs).bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|
timestamps
property
¶
Access the bufferVar.timestamps[N] attribute.
Description
- When enabled by the bufferVar.collecttimestamps attribute, 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 reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.N, the reading number (1 to bufferVar.n).
| Raises: |
|
|---|
clear
¶
clear() -> None
Run the bufferVar.clear() function.
Description
- This function empties the buffer.
TSP Syntax
- bufferVar.clear()
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|
clearcache
¶
clearcache() -> None
Run the bufferVar.clearcache() function.
Description
- This function clears the cache.
TSP Syntax
- bufferVar.clearcache()
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|