IOErrors.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2012 SCHUNK GmbH & Co. KG
00003  * Copyright (c) 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  *   http://www.apache.org/licenses/LICENSE-2.0
00010 
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef IOERRORS_H
00019 #define IOERRORS_H
00020 
00021         // IO Device Types
00022 
00023 #define TYPEID_IO_UNDEFINED                             0               
00024 #define TYPEID_IO_MAGELLAN                              1               
00025 #define TYPEID_IO_SPACEMASTER                   2               
00026 #define TYPEID_IO_METROLOGIC                    3
00027 #define TYPEID_IO_MODULEIO                              4
00028 #define TYPEID_IO_EMSMODULE                             5
00029 #define TYPEID_IO_DLRFTS                                6
00030 #define TYPEID_IO_SICK0D50                              7
00031 #define TYPEID_IO_COMPUTERBOARDS                8
00032 #define TYPEID_IO_NI6527                                9
00033 #define TYPEID_IO_ME96                                  10
00034 #define TYPEID_IO_MP55IO                                11
00035 #define TYPEID_IO_SCHUNKFTC                             12
00036 #define TYPEID_IO_DIRECTMOUSE                   13
00037 #define TYPEID_IO_DIRECTJOYSTICK                14
00038 #define TYPEID_IO_DIRECTKEYBOARD                15
00039 
00040         // IO Device EMS Types
00041 
00042 #define TYPEID_EMS_DIG24V_OUT                   10
00043 #define TYPEID_EMS_DIG24V_IN                    11
00044 #define TYPEID_EMS_ANA10V_OUT                   12
00045 #define TYPEID_EMS_ANA10V_IN                    13
00046 #define TYPEID_EMS_ANA25MA_OUT                  14
00047 #define TYPEID_EMS_ANA25MA_IN                   15
00048 
00049         // IO Device Channel Types
00050 
00051 #define CHANNELTYPEID_IO_READ                   20              // undefined type 
00052 #define CHANNELTYPEID_IO_BOOLREAD               21              
00053 #define CHANNELTYPEID_IO_CHARREAD               22              
00054 #define CHANNELTYPEID_IO_INTREAD                23              
00055 #define CHANNELTYPEID_IO_FLOATREAD              24              
00056 #define CHANNELTYPEID_IO_STRINGREAD             25              
00057 
00058 #define CHANNELTYPEID_IO_WRITE                  30              // undefined type for checking read/write
00059 #define CHANNELTYPEID_IO_BOOLWRITE              31              
00060 #define CHANNELTYPEID_IO_CHARWRITE              32              
00061 #define CHANNELTYPEID_IO_INTWRITE               33              
00062 #define CHANNELTYPEID_IO_FLOATWRITE             34              
00063 #define CHANNELTYPEID_IO_STRINGWRITE    35              
00064 
00065         // IO Device Errors
00066         
00067 #define ERRID_IO                                                (-400L)                         // io error
00068 #define ERRID_IO_FUNCTIONNOTAVAILABLE   (ERRID_IO - 1)  
00069 #define ERRID_IO_NOINITSTRING                   (ERRID_IO - 2)
00070 #define ERRID_IO_NOIONAME                               (ERRID_IO - 3)
00071 #define ERRID_IO_BADINITSTRING                  (ERRID_IO - 4)
00072 #define ERRID_IO_INITERROR                              (ERRID_IO - 5)
00073 #define ERRID_IO_ISINITIALIZED                  (ERRID_IO - 6)
00074 #define ERRID_IO_NOTINITIALIZED                 (ERRID_IO - 7)
00075 #define ERRID_IO_WRONGIOID                              (ERRID_IO - 8)
00076 #define ERRID_IO_WRONGCHANNELTYPEID             (ERRID_IO - 9)
00077 #define ERRID_IO_WRONGCHANNELID                 (ERRID_IO - 10)
00078 #define ERRID_IO_WRONGCHANNELTYPE               (ERRID_IO - 11)
00079 #define ERRID_IO_WRITEERROR                             (ERRID_IO - 12)
00080 #define ERRID_IO_READERROR                              (ERRID_IO - 13)
00081 #define ERRID_IO_WRONGCREATETHREAD              (ERRID_IO - 14)
00082 #define ERRID_IO_NOLIBRARY                              (ERRID_IO - 15)
00083 #define ERRID_IO_CONNECTIONNOTINIT              (ERRID_IO - 16)
00084 #define ERRID_IO_PARSERERROR                    (ERRID_IO - 17)
00085 
00086 #endif


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Sat Jun 8 2019 20:25:13