|
AMU Library 3.0
C/C++ library for communicating with AMU (Aerospace Measurement Unit) devices
|
Go to the source code of this file.
Macros | |
| #define | LIST_OF_ERRORS |
| #define | X(def, val, str) |
| #define | XE(def, val, str) |
Enumerations | |
| enum | { SCPI_ERROR_NO_ERROR = 0 , SCPI_ERROR_INVALID_CHARACTER = -101 , SCPI_ERROR_INVALID_SEPARATOR = -103 , SCPI_ERROR_DATA_TYPE_ERROR = -104 , SCPI_ERROR_PARAMETER_NOT_ALLOWED = -108 , SCPI_ERROR_MISSING_PARAMETER = -109 , SCPI_ERROR_UNDEFINED_HEADER = -113 , SCPI_ERROR_INVALID_SUFFIX = -131 , SCPI_ERROR_SUFFIX_NOT_ALLOWED = -138 , SCPI_ERROR_INVALID_STRING_DATA = -151 , SCPI_ERROR_EXPRESSION_PARSING_ERROR = -170 , SCPI_ERROR_EXECUTION_ERROR = -200 , SCPI_ERROR_ILLEGAL_PARAMETER_VALUE = -224 , SCPI_ERROR_SYSTEM_ERROR = -310 , SCPI_ERROR_QUEUE_OVERFLOW = -350 , SCPI_ERROR_INPUT_BUFFER_OVERRUN = -363 } |
Functions | |
| void | SCPI_ErrorInit (scpi_t *context, scpi_error_t *data, int16_t size) |
| void | SCPI_ErrorClear (scpi_t *context) |
| scpi_bool_t | SCPI_ErrorPop (scpi_t *context, scpi_error_t *error) |
| void | SCPI_ErrorPushEx (scpi_t *context, int16_t err, char *info, size_t info_len) |
| void | SCPI_ErrorPush (scpi_t *context, int16_t err) |
| int32_t | SCPI_ErrorCount (scpi_t *context) |
| const char * | SCPI_ErrorTranslate (int16_t err) |
| anonymous enum |
| void SCPI_ErrorClear | ( | scpi_t * | context | ) |
| int32_t SCPI_ErrorCount | ( | scpi_t * | context | ) |
| void SCPI_ErrorInit | ( | scpi_t * | context, |
| scpi_error_t * | data, | ||
| int16_t | size ) |
| scpi_bool_t SCPI_ErrorPop | ( | scpi_t * | context, |
| scpi_error_t * | error ) |
| void SCPI_ErrorPush | ( | scpi_t * | context, |
| int16_t | err ) |
| void SCPI_ErrorPushEx | ( | scpi_t * | context, |
| int16_t | err, | ||
| char * | info, | ||
| size_t | info_len ) |