Read instrument error queue
read_errorsDrain the SCPI error queue by issuing SYST:ERR? until empty; call after a failed command to retrieve and clear instrument errors.
Instructions
Pop SYST:ERR? until the queue is empty. Call this after any failed command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | No | ||
| max_errors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |