Language Reference
ERR | Send numeric codes that describe the nature of errors. |
Example | 20 | CLEAR | 723 | Initialize analyzer . |
|
| 30 | OUTPUT 723;"IP;"; |
|
| |
| 40 | ALLOCATE Error_numbers$[50] | Create | ||
|
|
|
| the storage of any queried analyzer errors . | |
| 50 | OUTPUT | 723;"SAVES 1;VIEW;" | Send two faulty commands to | analyzer. |
|
|
|
| Execute SAVES using | parame- |
|
|
|
| ter. Use the VIEW command with incorrect | |
|
|
|
| syntax. |
|
| 60 | OUTPUT | 723;"ERR?;" | Send analyzer codes to the computer. | |
| 70 | ENTER | 723;Error_numbers$ | Store error codes in computer array. |
Description The ERR command sends numeric codes (to the computer) that describe the nature of errors, if any have occurred.
Error codes are stored in the error register as they occur. ERR sends codes as long as they are in the register. If none are present, ERR sends \0" (zero). Instrument preset (IP) clears the error register.
Query Response
See Also IP