scpi99

List of supported commands:

class nardascripting.base.scpi.scpi99.Scpi99(com: nardascripting.base.comm.CommBase)

SignalShark SCPI-99 SCPI subsystem class.

abort()

Aborts running measurements and calculations. Sets TASK:STATE to STOP mode.

get_system_error()

Queries the error queue for the next error item and removes it from the queue. The query returns the error code and the error message string.

Returns

Next error code from the queue; Next error string from the queue

Return type

int, str

get_system_error_all()

Queries the error queue for every existing error item and clears the error queue. The query returns the error code for every error.

Returns

Two dimensional list of occurred errors.

Return type

list [err_index, err_string]

get_system_error_code()

Queries the error queue for the next error item and removes the error from the queue. The query returns only the error code omitting the string.

Returns

Next error code from the queue

Return type

int

get_system_error_code_all()

Queries the error queue for every existing error item and clears the error queue. The query returns the error code for every error.

Returns

List of existing errors as error codes

Return type

list of int

get_system_error_count()

Queries the error queue for the number of error items

Returns

Count of errors in the error queue

Return type

int

get_system_error_list()

Queries a list of all possible error items in the error queue

Returns

Two dimensional list of all possible errors.

Return type

list [err_index, err_string]

system_error_clear()

Clears the error queue