status
¶
The status commands module.
These commands are used in the following models: DMM6500, DMM7510
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- status.clear()
- status.condition
- status.operation.condition
- status.operation.enable
- status.operation.event
- status.operation.getmap()
- status.operation.setmap()
- status.preset()
- status.questionable.condition
- status.questionable.enable
- status.questionable.event
- status.questionable.getmap()
- status.questionable.setmap()
- status.request_enable
- status.standard.enable
- status.standard.event
Status
¶
Bases: BaseTSPCmd
The status command tree.
Properties and methods
.clear(): Thestatus.clear()function..condition: Thestatus.conditionattribute..operation: Thestatus.operationcommand tree..preset(): Thestatus.preset()function..questionable: Thestatus.questionablecommand tree..request_enable: Thestatus.request_enableattribute..standard: Thestatus.standardcommand tree.
condition
property
¶
condition: str
Access the status.condition attribute.
Description
- This attribute stores the status byte condition register.
Usage
- Accessing this property will send the
print(status.condition)query.
TSP Syntax
- print(status.condition)
| Raises: |
|
|---|
operation
property
¶
operation: StatusOperation
Return the status.operation command tree.
Sub-properties and sub-methods
.condition: Thestatus.operation.conditionattribute..enable: Thestatus.operation.enableattribute..event: Thestatus.operation.eventattribute..getmap(): Thestatus.operation.getmap()function..setmap(): Thestatus.operation.setmap()function.
questionable
property
¶
questionable: StatusQuestionable
Return the status.questionable command tree.
Sub-properties and sub-methods
.condition: Thestatus.questionable.conditionattribute..enable: Thestatus.questionable.enableattribute..event: Thestatus.questionable.eventattribute..getmap(): Thestatus.questionable.getmap()function..setmap(): Thestatus.questionable.setmap()function.
request_enable
property
writable
¶
request_enable: str
Access the status.request_enable attribute.
Description
- This attribute stores the settings of the Service Request (SRQ) Enable Register.
Usage
- Accessing this property will send the
print(status.request_enable)query. - Setting this property to a value will send the
status.request_enable = valuecommand.
TSP Syntax
- status.request_enable = value
- print(status.request_enable)
| Raises: |
|
|---|
standard
property
¶
standard: StatusStandard
Return the status.standard command tree.
Sub-properties and sub-methods
.enable: Thestatus.standard.enableattribute..event: Thestatus.standard.eventattribute.
clear
¶
clear() -> None
Run the status.clear() function.
Description
- This function clears event registers.
TSP Syntax
- status.clear()
| Raises: |
|
|---|
preset
¶
preset() -> None
Run the status.preset() function.
Description
- This function resets all bits in the status model.
TSP Syntax
- status.preset()
| Raises: |
|
|---|
StatusOperation
¶
Bases: BaseTSPCmd
The status.operation command tree.
Properties and methods
.condition: Thestatus.operation.conditionattribute..enable: Thestatus.operation.enableattribute..event: Thestatus.operation.eventattribute..getmap(): Thestatus.operation.getmap()function..setmap(): Thestatus.operation.setmap()function.
condition
property
¶
condition: str
Access the status.operation.condition attribute.
Description
- This attribute reads the Operation Event Register of the status model.
Usage
- Accessing this property will send the
print(status.operation.condition)query.
TSP Syntax
- print(status.operation.condition)
| Raises: |
|
|---|
enable
property
writable
¶
enable: str
Access the status.operation.enable attribute.
Description
- This attribute sets or reads the contents of the Operation Event Enable Register of the status model.
Usage
- Accessing this property will send the
print(status.operation.enable)query. - Setting this property to a value will send the
status.operation.enable = valuecommand.
TSP Syntax
- status.operation.enable = value
- print(status.operation.enable)
| Raises: |
|
|---|
event
property
¶
event: str
Access the status.operation.event attribute.
Description
- This attribute reads the Operation Event Register of the status model.
Usage
- Accessing this property will send the
print(status.operation.event)query.
TSP Syntax
- print(status.operation.event)
| Raises: |
|
|---|
getmap
¶
Run the status.operation.getmap() function.
Description
- This function requests the mapped set event and mapped clear event status for a bit in the Operation Event Registers.
TSP Syntax
- status.operation.getmap()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
setmap
¶
Run the status.operation.setmap() function.
Description
- This function allows you to map events to bits in the Operation Event Register.
TSP Syntax
- status.operation.setmap()
| Parameters: |
|
|---|
| Raises: |
|
|---|
StatusQuestionable
¶
Bases: BaseTSPCmd
The status.questionable command tree.
Properties and methods
.condition: Thestatus.questionable.conditionattribute..enable: Thestatus.questionable.enableattribute..event: Thestatus.questionable.eventattribute..getmap(): Thestatus.questionable.getmap()function..setmap(): Thestatus.questionable.setmap()function.
condition
property
¶
condition: str
Access the status.questionable.condition attribute.
Description
- This attribute reads the Questionable Condition Register of the status model.
Usage
- Accessing this property will send the
print(status.questionable.condition)query.
TSP Syntax
- print(status.questionable.condition)
| Raises: |
|
|---|
enable
property
writable
¶
enable: str
Access the status.questionable.enable attribute.
Description
- This attribute sets or reads the contents of the questionable event enable register of the status model.
Usage
- Accessing this property will send the
print(status.questionable.enable)query. - Setting this property to a value will send the
status.questionable.enable = valuecommand.
TSP Syntax
- status.questionable.enable = value
- print(status.questionable.enable)
| Raises: |
|
|---|
event
property
¶
event: str
Access the status.questionable.event attribute.
Description
- This attribute reads the Questionable Event Register.
Usage
- Accessing this property will send the
print(status.questionable.event)query.
TSP Syntax
- print(status.questionable.event)
| Raises: |
|
|---|
getmap
¶
Run the status.questionable.getmap() function.
Description
- This function requests the mapped set event and mapped clear event status for a bit in the Questionable Event Registers.
TSP Syntax
- status.questionable.getmap()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
setmap
¶
Run the status.questionable.setmap() function.
Description
- This function maps events to bits in the questionable event registers.
TSP Syntax
- status.questionable.setmap()
| Parameters: |
|
|---|
| Raises: |
|
|---|
StatusStandard
¶
Bases: BaseTSPCmd
The status.standard command tree.
Properties and methods
.enable: Thestatus.standard.enableattribute..event: Thestatus.standard.eventattribute.
enable
property
writable
¶
enable: str
Access the status.standard.enable attribute.
Description
- This attribute reads or sets the bits in the Status Enable register of the Standard Event Register.
Usage
- Accessing this property will send the
print(status.standard.enable)query. - Setting this property to a value will send the
status.standard.enable = valuecommand.
TSP Syntax
- status.standard.enable = value
- print(status.standard.enable)
| Raises: |
|
|---|
event
property
¶
event: str
Access the status.standard.event attribute.
Description
- This attribute returns the contents of the Standard Event Status Register set of the status model.
Usage
- Accessing this property will send the
print(status.standard.event)query.
TSP Syntax
- print(status.standard.event)
| Raises: |
|
|---|