Error
SCPI Command:
SYSTem:ERRor:ALL
SYSTem:ERRor:COUNt
- class ErrorCls[source]
Error commands group definition. 4 total commands, 1 Subgroups, 2 group commands
- class AllStruct[source]
Structure for reading output parameters. Fields:
Error_Number: int: 0 means that the queue is empty. Positive error codes are instrument-dependent. Negative error codes are reserved by the SCPI standard.
Error_Text: str: String specifying the error
- get_all() AllStruct [source]
# SCPI: SYSTem:ERRor:ALL value: AllStruct = driver.system.error.get_all()
Queries and deletes all entries in the error queue. Each entry consists of an error code and a short description of the error. The entries are returned as comma-separated list: {<ErrorNumber>, <ErrorText>}entry 1, {<ErrorNumber>, <ErrorText>}entry 2, …, {<ErrorNumber>, <ErrorText>}entry n
- return:
structure: for return value, see the help for AllStruct structure arguments.
- get_count() int [source]
# SCPI: SYSTem:ERRor:COUNt value: int = driver.system.error.get_count()
Queries the number of entries in the error queue.
- return:
error_count: Number of entries Range: 0 to n
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.system.error.clone()
Subgroups