Error

SCPI Commands :

SYSTem:ERRor:ALL
SYSTem:ERRor:COUNt
SYSTem:ERRor:STATic
class ErrorCls[source]

Error commands group definition. 7 total commands, 2 Subgroups, 3 group commands

get_all() str[source]
# SCPI: SYSTem:ERRor:ALL
value: str = driver.system.error.get_all()

Queries the error/event queue for all unread items and removes them from the queue.

return

all_py: string Error/event_number,’Error/event_description[;Device-dependent info]’ A comma separated list of error number and a short description of the error in FIFO order. If the queue is empty, the response is 0,’No error’ Positive error numbers are instrument-dependent. Negative error numbers are reserved by the SCPI standard. Volatile errors are reported once, at the time they appear. Identical errors are reported repeatedly only if the original error has already been retrieved from (and hence not any more present in) the error queue.

get_count() str[source]
# SCPI: SYSTem:ERRor:COUNt
value: str = driver.system.error.get_count()

Queries the number of entries in the error queue.

return

count: integer 0 The error queue is empty.

get_static() str[source]
# SCPI: SYSTem:ERRor:STATic
value: str = driver.system.error.get_static()

Returns a list of all errors existing at the time when the query is started. This list corresponds to the display on the info page under manual control.

return

static_errors: string

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.system.error.clone()

Subgroups