buffervar
¶
The buffervar commands module.
These commands are used in the following models: MP5103, MPSU50_2ST, MSMU60_2
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.cachemode
- bufferVar.capacity
- bufferVar.clear()
- bufferVar.clearcache()
- bufferVar.columnname.enable
- bufferVar.fillcount
- bufferVar.fillmode
- bufferVar.fractionalseconds[N]
- bufferVar.measurefunctions[N]
- bufferVar.measureranges[N]
- bufferVar.n
- bufferVar.readings[N]
- bufferVar.seconds[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..cachemode: ThebufferVar.cachemodeattribute..capacity: ThebufferVar.capacityattribute..clear(): ThebufferVar.clear()function..clearcache(): ThebufferVar.clearcache()function..columnname: ThebufferVar.columnnamecommand tree..fillcount: ThebufferVar.fillcountattribute..fillmode: ThebufferVar.fillmodeattribute..fractionalseconds: ThebufferVar.fractionalseconds[N]attribute..measurefunctions: ThebufferVar.measurefunctions[N]attribute..measureranges: ThebufferVar.measureranges[N]attribute..n: ThebufferVar.nattribute..readings: ThebufferVar.readings[N]attribute..seconds: ThebufferVar.seconds[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: |
|
|---|
cachemode
property
writable
¶
cachemode: str
Access the bufferVar.cachemode attribute.
Description
- This attribute enables or disables the reading buffer cache.
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 contains the capacity of the buffer.
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: |
|
|---|
columnname
property
¶
columnname: BuffervarColumnname
Return the bufferVar.columnname command tree.
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.columnname, the reading buffer column to enable or disable.
Sub-properties and sub-methods
.enable: ThebufferVar.columnname.enableattribute.
fillcount
property
writable
¶
fillcount: str
Access the bufferVar.fillcount attribute.
Description
- This attribute sets the number of readings to store before restarting at index 1.
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 user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|
fillmode
property
writable
¶
fillmode: str
Access the bufferVar.fillmode attribute.
Description
- This attribute determines if old data is overwritten when the reading buffer is filled.
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 user-defined buffer or a dedicated reading 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 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: |
|
|---|
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 user-defined buffer or a dedicated reading buffer.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 user-defined buffer or a dedicated reading buffer.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: 1 to bufferVar.n.
| Raises: |
|
|---|
seconds
property
¶
Access the bufferVar.seconds[N] attribute.
Description
- This 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 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: |
|
|---|
sourcefunctions
property
¶
Access the bufferVar.sourcefunctions[N] attribute.
Description
- This function contains the source function that was used for readings 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 user-defined buffer or a dedicated reading buffer.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 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 user-defined buffer or a dedicated reading buffer.N, the reading number: 1 to bufferVar.n.
| Raises: |
|
|---|
sourceranges
property
¶
Access the bufferVar.sourceranges[N] attribute.
Description
- This attribute indicates the state of the source range for readings stored in a specified 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 user-defined buffer or a dedicated reading buffer.N, the reading number: 1 to bufferVar.n.
| Raises: |
|
|---|
sourcevalues
property
¶
Access the bufferVar.sourcevalues[N] attribute.
Description
- When enabled, 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 user-defined buffer or a dedicated reading buffer.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: 1 to bufferVar.n.
| 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
- This attribute contains the timestamp for each reading in the specified buffer.
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 reading 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 all readings from the specified cache.
TSP Syntax
- bufferVar.clearcache()
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.
| Raises: |
|
|---|
BuffervarColumnname
¶
Bases: BaseTSPCmd
The bufferVar.columnname command tree.
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.columnname, the reading buffer column to enable or disable.
Properties and methods
.enable: ThebufferVar.columnname.enableattribute.
enable
property
writable
¶
enable: str
Access the bufferVar.columnname.enable attribute.
Description
- This attribute sets which buffer columns will be stored with the readings in the buffer.
Usage
- Accessing this property will send the
print(bufferVar.columnname.enable)query. - Setting this property to a value will send the
bufferVar.columnname.enable = valuecommand.
TSP Syntax
- bufferVar.columnname.enable = value
- print(bufferVar.columnname.enable)
Info
bufferVar, the reading buffer; can be a dynamically allocated user-defined buffer or a dedicated reading buffer.columnname, the reading buffer column to enable or disable.
| Raises: |
|
|---|