ABS SCPI Driver 0.2.0
ABS SCPI driver library
Loading...
Searching...
No Matches
Error Codes

Error codes returned by the SCPI driver functions. More...

+ Collaboration diagram for Error Codes:

Macros

#define ABS_SCPI_ERR_SUCCESS   (0)
 Success (no error)
 
#define ABS_SCPI_ERR_CHANNEL_INDEX_OUT_OF_RANGE   (-1)
 Channel index out of range.
 
#define ABS_SCPI_ERR_INVALID_IP_ADDRESS   (-2)
 Invalid IP address.
 
#define ABS_SCPI_ERR_CONNECTION_TIMED_OUT   (-3)
 Connection timed out.
 
#define ABS_SCPI_ERR_CONNECTION_FAILED   (-4)
 Connection failed.
 
#define ABS_SCPI_ERR_SEND_FAILED   (-5)
 Failed to send message.
 
#define ABS_SCPI_ERR_SEND_TIMED_OUT   (-6)
 Send timed out.
 
#define ABS_SCPI_ERR_READ_FAILED   (-7)
 Failed to read message.
 
#define ABS_SCPI_ERR_READ_TIMED_OUT   (-8)
 Read timed out.
 
#define ABS_SCPI_ERR_NOT_CONNECTED   (-9)
 Not connected.
 
#define ABS_SCPI_ERR_INVALID_RESPONSE   (-10)
 Invalid response from the unit.
 
#define ABS_SCPI_ERR_INVALID_FAULT_TYPE   (-11)
 Invalid fault type.
 
#define ABS_SCPI_ERR_INVALID_SENSE_RANGE   (-12)
 Invalid sense range.
 
#define ABS_SCPI_ERR_INVALID_ARGUMENT   (-13)
 Invalid argument.
 
#define ABS_SCPI_ERR_INVALID_DRIVER_HANDLE   (-14)
 Invalid driver handle.
 
#define ABS_SCPI_ERR_RECEIVE_NOT_ALLOWED   (-15)
 Receive not allowed by driver.
 
#define ABS_SCPI_ERR_ALREADY_CONNECTED   (-16)
 Already connected.
 
#define ABS_SCPI_ERR_SOCKET_ERROR   (-17)
 Unexpected socket error.
 
#define ABS_SCPI_ERR_FAILED_TO_BIND_SOCKET   (-18)
 Failed to bind socket.
 
#define ABS_SCPI_ERR_OPENING_SERIAL_PORT_FAILED   (-19)
 Failed to open serial port.
 
#define ABS_SCPI_ERR_FAILED_TO_CONFIGURE_PORT   (-20)
 Failed to configure serial port.
 
#define ABS_SCPI_ERR_FAILED_TO_JOIN_GROUP   (-21)
 Failed to join multicast group.
 
#define ABS_SCPI_ERR_BUFFER_TOO_SMALL   (-22)
 Buffer too small.
 
#define ABS_SCPI_ERR_ALLOCATION_FAILED   (-23)
 Allocation failed.
 
#define ABS_SCPI_ERR_UNEXPECTED_EXCEPTION   (-24)
 Unexpected exception.
 

Detailed Description

Error codes returned by the SCPI driver functions.