Code

SCPI Commands :

SYSTem:ERRor:CODE:ALL
SYSTem:ERRor:CODE:[NEXT]
Commands in total: 2
Subgroups: 0
Direct child commands: 2
get_all() str[source]
# SYSTem:ERRor:CODE:ALL
value: str = driver.system.error.code.get_all()

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

Returns:

all_py: string Returns the error numbers. To retrieve the entire error text, send the command method RsSmw.system.error.all() . 0 ‘No error’, i.e. the error queue is empty Positive value Positive error numbers denote device-specific errors Negative value Negative error numbers denote error messages defined by SCPI.

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

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

Returns:

next_py: string Returns the error number. To retrieve the entire error text, send the command method RsSmw.system.error.all() . 0 ‘No error’, i.e. the error queue is empty Positive value Positive error numbers denote device-specific errors Negative value Negative error numbers denote error messages defined by SCPI.