Code

SCPI Command:

SYSTem:ERRor:CODE:ALL
SYSTem:ERRor:CODE[:NEXT]
class CodeCls[source]

Code commands group definition. 2 total commands, 0 Subgroups, 2 group commands

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

Queries the error code numbers of all entries in the error queue and deletes all entries.

return:

error_code: Comma-separated list of error codes 0 means that the queue is empty. Positive error codes are instrument-dependent. Negative error codes are reserved by the SCPI standard.

get_next() int[source]
# SCPI: SYSTem:ERRor:CODE[:NEXT]
value: int = driver.system.error.code.get_next()

Queries the code number of the oldest entry in the error queue and deletes the entry.

return:

error: 0 means that the queue is empty. Positive error codes are instrument-dependent. Negative error codes are reserved by the SCPI standard.