buffervar
¶
The buffervar commands module.
These commands are used in the following models: DMM6500
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.channels[N]
- 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.startindex
- bufferVar.statuses[N]
- bufferVar.times[N]
- bufferVar.timestamps[N]
- bufferVar.units
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.capacity
attribute..channels
: ThebufferVar.channels[N]
attribute..clear()
: ThebufferVar.clear()
function..dates
: ThebufferVar.dates[N]
attribute..endindex
: ThebufferVar.endindex
attribute..extraformattedvalues
: ThebufferVar.extraformattedvalues[N]
attribute..extravalues
: ThebufferVar.extravalues[N]
attribute..extravalueunits
: ThebufferVar.extravalueunits[N]
attribute..fillmode
: ThebufferVar.fillmode
attribute..formattedreadings
: ThebufferVar.formattedreadings[N]
attribute..fractionalseconds
: ThebufferVar.fractionalseconds[N]
attribute..logstate
: ThebufferVar.logstate
attribute..n
: ThebufferVar.n
attribute..readings
: ThebufferVar.readings[N]
attribute..relativetimestamps
: ThebufferVar.relativetimestamps[N]
attribute..seconds
: ThebufferVar.seconds[N]
attribute..startindex
: ThebufferVar.startindex
attribute..statuses
: ThebufferVar.statuses[N]
attribute..times
: ThebufferVar.times[N]
attribute..timestamps
: ThebufferVar.timestamps[N]
attribute..units
: ThebufferVar.units
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 = value
command.
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: |
|
---|
channels
property
¶
Access the bufferVar.channels[N]
attribute.
Description
- This attribute contains the channels that produced the readings that are stored in the reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.channels[N])
query.
TSP Syntax
- print(bufferVar.channels[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: |
|
---|
dates
property
¶
Access the bufferVar.dates[N]
attribute.
Description
- When enabled by the bufferVar.collecttimestamps attribute, this attribute contains the dates (month, day, and year) of readings 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 reading buffer.N
, the reading number (1 to bufferVar.n).
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 = value
command.
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 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: |
|
---|
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 = value
command.
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 reading buffer.N
, the reading number (1 to bufferVar.n).
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 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: |
|
---|
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
- When enabled by the bufferVar.collecttimestamps attribute, this attribute contains the time of the readings (in hours, minutes, and seconds format) in the reading buffer.
Usage
- Accessing an item from this property will send the
print(bufferVar.times[N])
query.
TSP Syntax
- print(bufferVar.times[N])
Info
bufferVar
, the 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: |
|
---|
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
¶
units: str
Access the bufferVar.units
attribute.
Description
- This attribute contains the unit of measure that is stored with readings in the reading buffer.
Usage
- Accessing this property will send the
print(bufferVar.units)
query.
TSP Syntax
- print(bufferVar.units)
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: |
|
---|