Defines | Typedefs | Enumerations | Functions | Variables
sdh_return_codes.h File Reference

This file contains a typedef for a common Return Codes enum. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SDH__attribute__(...)   __attribute__(__VA_ARGS__)
#define SDH_USE_VCC   0

Typedefs

typedef enum eReturnCodeEnum eReturnCode
 typedef for eCommandCodeEnum, see there

Enumerations

enum  eReturnCodeEnum

Functions

enum eReturnCodeEnum SDH__attribute__ ((__packed__))

Variables

 RC_ACCESS_DENIED
 RC_ALREADY_OPEN
 RC_ALREADY_RUNNING
 Error: Data acquisition: the acquisition loop is already running.
 RC_AXIS_DISABLED
 RC_CHECKSUM_ERROR
 RC_CMD_ABORTED
 RC_CMD_FAILED
 RC_CMD_FORMAT_ERROR
 Error: invalid format of command line parameters.
 RC_CMD_UNKNOWN
 Error: unknown command on command line.
 RC_CRC_ERROR
 Cyclic Redundancy Code error while receiving binary input.
 RC_DEVICE_NOT_FOUND
 RC_DEVICE_NOT_OPENED
 RC_DIMENSION
 < End marker and dimension
 RC_FEATURE_NOT_SUPPORTED
 RC_HOMING_ERROR
 RC_INCONSISTENT_DATA
 RC_INDEX_OUT_OF_BOUNDS
 Error: A given index parameter is invalid.
 RC_INSUFFICIENT_RESOURCES
 Error: Insufficient ressources.
 RC_INTERNAL
 Error: callback function reports internal error.
 RC_INVALID_HANDLE
 RC_INVALID_PARAMETER
 Error: invalid parameter on command line.
 RC_INVALID_PASSWORD
 Error: invalid password given for change user command.
 RC_IO_ERROR
 Error: Input/Output error like bus-off detected.
 RC_MAX_COMMANDLINE_EXCEEDED
 Error: the command line given is too long.
 RC_MAX_COMMANDS_EXCEEDED
 Error: cannot add more than CI_MAX_COMMANDS to interpreter / POSCON_MAX_OSCILLOSCOPE parameters to oscilloscope.
 RC_NO_COMMAND
 Not really an error: reading input did not yield a new command.
 RC_NO_DATAPIPE
 RC_NO_PARAMS_EXPECTED
 RC_NOT_AVAILABLE
 Error: An accessed ressource is not available.
 RC_NOT_ENOUGH_PARAMS
 Error: not enough parameters on command line.
 RC_NOT_INITIALIZED
 Error: An accessed ressource has not been initialized.
 RC_OK = 0
 Success, no error.
 RC_OVER_TEMPERATURE
 RC_RANGE_ERROR
 RC_READ_ERROR
 Error: could not read.
 RC_TIMEOUT
 Error: timeout occured.
 RC_UNKNOWN_ERROR
 Error: unknown error.
 RC_WRITE_ERROR
 Error: could not write.

Detailed Description

This file contains a typedef for a common Return Codes enum.

General file information

Author:
Dirk Osswald
Date:
2011-02-04

Copyright

Copyright (c) 2011 SCHUNK GmbH & Co. KG


Definition in file sdh_return_codes.h.


Define Documentation

#define SDH__attribute__ (   ...)    __attribute__(__VA_ARGS__)

Definition at line 51 of file sdh_return_codes.h.

#define SDH_USE_VCC   0

Definition at line 55 of file sdh_return_codes.h.


Typedef Documentation

typedef for eCommandCodeEnum, see there

Definition at line 118 of file sdh_return_codes.h.


Enumeration Type Documentation

Packed (1 Byte) enum with binary return codes used to indicate the status of the SDH sent in the binary communiation request or response.

Remarks:
  • To make this definition work with both C (nios-gcc) and C++ (std gcc/VCC) we have to separate the enum definition from the typedef.
  • You may use the corresponding typedef eReturnCode

Definition at line 72 of file sdh_return_codes.h.


Function Documentation

enum eReturnCodeEnum SDH__attribute__ ( (__packed__)  )

Variable Documentation

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Error: Data acquisition: the acquisition loop is already running.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Error: invalid format of command line parameters.

Definition at line 116 of file sdh_return_codes.h.

Error: unknown command on command line.

Definition at line 116 of file sdh_return_codes.h.

Cyclic Redundancy Code error while receiving binary input.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

< End marker and dimension

End marker and dimension.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Error: A given index parameter is invalid.

Definition at line 116 of file sdh_return_codes.h.

Error: Insufficient ressources.

Definition at line 116 of file sdh_return_codes.h.

Error: callback function reports internal error.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Error: invalid parameter on command line.

Definition at line 116 of file sdh_return_codes.h.

Error: invalid password given for change user command.

Definition at line 116 of file sdh_return_codes.h.

Error: Input/Output error like bus-off detected.

Definition at line 116 of file sdh_return_codes.h.

Error: the command line given is too long.

Definition at line 116 of file sdh_return_codes.h.

Error: cannot add more than CI_MAX_COMMANDS to interpreter / POSCON_MAX_OSCILLOSCOPE parameters to oscilloscope.

Definition at line 116 of file sdh_return_codes.h.

Not really an error: reading input did not yield a new command.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Error: An accessed ressource is not available.

Definition at line 116 of file sdh_return_codes.h.

Error: not enough parameters on command line.

Definition at line 116 of file sdh_return_codes.h.

Error: An accessed ressource has not been initialized.

Definition at line 116 of file sdh_return_codes.h.

RC_OK = 0

Success, no error.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Definition at line 116 of file sdh_return_codes.h.

Error: could not read.

Definition at line 116 of file sdh_return_codes.h.

Error: timeout occured.

Definition at line 116 of file sdh_return_codes.h.

Error: unknown error.

Definition at line 116 of file sdh_return_codes.h.

Error: could not write.

Definition at line 116 of file sdh_return_codes.h.



schunk_sdh
Author(s): Mathias Luedtke , Florian Weisshardt
autogenerated on Thu Aug 27 2015 15:07:03