Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef IOERRORS_H
00019 #define IOERRORS_H
00020
00021
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
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
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
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