$search
This file contains a typedef for a common Return Codes enum. More...
Go to the source code of this file.
Defines | |
#define | SDH__attribute__(...) __attribute__(__VA_ARGS__) |
Typedefs | |
typedef enum eReturnCodeEnum | eReturnCode |
typedef for eCommandCodeEnum, see there | |
Enumerations | |
enum | eReturnCodeEnum { RC_OK = 0, RC_NOT_AVAILABLE, RC_NOT_INITIALIZED, RC_ALREADY_RUNNING, RC_FEATURE_NOT_SUPPORTED, RC_INCONSISTENT_DATA, RC_TIMEOUT, RC_READ_ERROR, RC_WRITE_ERROR, RC_INSUFFICIENT_RESOURCES, RC_CHECKSUM_ERROR, RC_NOT_ENOUGH_PARAMS, RC_NO_PARAMS_EXPECTED, RC_CMD_UNKNOWN, RC_CMD_FORMAT_ERROR, RC_ACCESS_DENIED, RC_ALREADY_OPEN, RC_CMD_FAILED, RC_CMD_ABORTED, RC_INVALID_HANDLE, RC_DEVICE_NOT_FOUND, RC_DEVICE_NOT_OPENED, RC_IO_ERROR, RC_INVALID_PARAMETER, RC_RANGE_ERROR, RC_NO_DATAPIPE, RC_INDEX_OUT_OF_BOUNDS, RC_HOMING_ERROR, RC_AXIS_DISABLED, RC_OVER_TEMPERATURE, RC_MAX_COMMANDS_EXCEEDED, RC_INVALID_PASSWORD, RC_MAX_COMMANDLINE_EXCEEDED, RC_CRC_ERROR, RC_NO_COMMAND, RC_INTERNAL, RC_UNKNOWN_ERROR, RC_DIMENSION } |
Variables | |
enum eReturnCodeEnum | __packed__ |
This file contains a typedef for a common Return Codes enum.
Copyright (c) 2011 SCHUNK GmbH & Co. KG
Definition in file sdh_return_codes.h.
#define SDH__attribute__ | ( | ... | ) | __attribute__(__VA_ARGS__) |
Definition at line 51 of file sdh_return_codes.h.
typedef enum eReturnCodeEnum eReturnCode |
typedef for eCommandCodeEnum, see there
Definition at line 118 of file sdh_return_codes.h.
enum eReturnCodeEnum |
Packed (1 Byte) enum with binary return codes used to indicate the status of the SDH sent in the binary communiation request or response.
RC_OK |
Success, no error. |
RC_NOT_AVAILABLE |
Error: An accessed ressource is not available. |
RC_NOT_INITIALIZED |
Error: An accessed ressource has not been initialized. |
RC_ALREADY_RUNNING |
Error: Data acquisition: the acquisition loop is already running. |
RC_FEATURE_NOT_SUPPORTED | |
RC_INCONSISTENT_DATA | |
RC_TIMEOUT |
Error: timeout occured. |
RC_READ_ERROR |
Error: could not read. |
RC_WRITE_ERROR |
Error: could not write. |
RC_INSUFFICIENT_RESOURCES |
Error: Insufficient ressources. |
RC_CHECKSUM_ERROR | |
RC_NOT_ENOUGH_PARAMS |
Error: not enough parameters on command line. |
RC_NO_PARAMS_EXPECTED | |
RC_CMD_UNKNOWN |
Error: unknown command on command line. |
RC_CMD_FORMAT_ERROR |
Error: invalid format of command line parameters. |
RC_ACCESS_DENIED | |
RC_ALREADY_OPEN | |
RC_CMD_FAILED | |
RC_CMD_ABORTED | |
RC_INVALID_HANDLE | |
RC_DEVICE_NOT_FOUND | |
RC_DEVICE_NOT_OPENED | |
RC_IO_ERROR |
Error: Input/Output error like bus-off detected. |
RC_INVALID_PARAMETER |
Error: invalid parameter on command line. |
RC_RANGE_ERROR | |
RC_NO_DATAPIPE | |
RC_INDEX_OUT_OF_BOUNDS |
Error: A given index parameter is invalid. |
RC_HOMING_ERROR | |
RC_AXIS_DISABLED | |
RC_OVER_TEMPERATURE | |
RC_MAX_COMMANDS_EXCEEDED |
Error: cannot add more than CI_MAX_COMMANDS to interpreter / POSCON_MAX_OSCILLOSCOPE parameters to oscilloscope. |
RC_INVALID_PASSWORD |
Error: invalid password given for change user command. |
RC_MAX_COMMANDLINE_EXCEEDED |
Error: the command line given is too long. |
RC_CRC_ERROR |
Cyclic Redundancy Code error while receiving binary input. |
RC_NO_COMMAND |
Not really an error: reading input did not yield a new command. |
RC_INTERNAL |
Error: callback function reports internal error. |
RC_UNKNOWN_ERROR |
Error: unknown error. |
RC_DIMENSION |
End marker and dimension. |
Definition at line 72 of file sdh_return_codes.h.
Packed (1 Byte) enum with binary return codes used to indicate the status of the SDH sent in the binary communiation request or response.