
With the ERR? command, one can query the global error state, that is, a variable that changes whenever a command is executed. If a command fails, the module sends a message "ERR x" to the I/O interface, where x is the actual error code, indicating that something went wrong.ERR? without an argument shows the textual representation of this error code. When an argument is given, ERR? interprets that argument as error code and shows its textual representation. After ERR? was called, the clobal error state is set to ERR_OK.
None or an error number which should be displayed as text.
ERR_OK(0) Always. ERR? resets the global error variable.
ERR?
yields to (usually): I AM OK
ERR? 4
yields to: WRONG ARGUMENT
None, because this command is much too simple.