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
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 #ifndef IOERRORS_H
00050 #define IOERRORS_H
00051
00052
00053
00054 #define TYPEID_IO_UNDEFINED 0
00055 #define TYPEID_IO_MAGELLAN 1
00056 #define TYPEID_IO_SPACEMASTER 2
00057 #define TYPEID_IO_METROLOGIC 3
00058 #define TYPEID_IO_MODULEIO 4
00059 #define TYPEID_IO_EMSMODULE 5
00060 #define TYPEID_IO_DLRFTS 6
00061 #define TYPEID_IO_SICK0D50 7
00062 #define TYPEID_IO_COMPUTERBOARDS 8
00063 #define TYPEID_IO_NI6527 9
00064 #define TYPEID_IO_ME96 10
00065 #define TYPEID_IO_MP55IO 11
00066 #define TYPEID_IO_SCHUNKFTC 12
00067 #define TYPEID_IO_DIRECTMOUSE 13
00068 #define TYPEID_IO_DIRECTJOYSTICK 14
00069 #define TYPEID_IO_DIRECTKEYBOARD 15
00070
00071
00072
00073 #define TYPEID_EMS_DIG24V_OUT 10
00074 #define TYPEID_EMS_DIG24V_IN 11
00075 #define TYPEID_EMS_ANA10V_OUT 12
00076 #define TYPEID_EMS_ANA10V_IN 13
00077 #define TYPEID_EMS_ANA25MA_OUT 14
00078 #define TYPEID_EMS_ANA25MA_IN 15
00079
00080
00081
00082 #define CHANNELTYPEID_IO_READ 20 // undefined type
00083 #define CHANNELTYPEID_IO_BOOLREAD 21
00084 #define CHANNELTYPEID_IO_CHARREAD 22
00085 #define CHANNELTYPEID_IO_INTREAD 23
00086 #define CHANNELTYPEID_IO_FLOATREAD 24
00087 #define CHANNELTYPEID_IO_STRINGREAD 25
00088
00089 #define CHANNELTYPEID_IO_WRITE 30 // undefined type for checking read/write
00090 #define CHANNELTYPEID_IO_BOOLWRITE 31
00091 #define CHANNELTYPEID_IO_CHARWRITE 32
00092 #define CHANNELTYPEID_IO_INTWRITE 33
00093 #define CHANNELTYPEID_IO_FLOATWRITE 34
00094 #define CHANNELTYPEID_IO_STRINGWRITE 35
00095
00096
00097
00098 #define ERRID_IO (-400L) // io error
00099 #define ERRID_IO_FUNCTIONNOTAVAILABLE (ERRID_IO - 1)
00100 #define ERRID_IO_NOINITSTRING (ERRID_IO - 2)
00101 #define ERRID_IO_NOIONAME (ERRID_IO - 3)
00102 #define ERRID_IO_BADINITSTRING (ERRID_IO - 4)
00103 #define ERRID_IO_INITERROR (ERRID_IO - 5)
00104 #define ERRID_IO_ISINITIALIZED (ERRID_IO - 6)
00105 #define ERRID_IO_NOTINITIALIZED (ERRID_IO - 7)
00106 #define ERRID_IO_WRONGIOID (ERRID_IO - 8)
00107 #define ERRID_IO_WRONGCHANNELTYPEID (ERRID_IO - 9)
00108 #define ERRID_IO_WRONGCHANNELID (ERRID_IO - 10)
00109 #define ERRID_IO_WRONGCHANNELTYPE (ERRID_IO - 11)
00110 #define ERRID_IO_WRITEERROR (ERRID_IO - 12)
00111 #define ERRID_IO_READERROR (ERRID_IO - 13)
00112 #define ERRID_IO_WRONGCREATETHREAD (ERRID_IO - 14)
00113 #define ERRID_IO_NOLIBRARY (ERRID_IO - 15)
00114 #define ERRID_IO_CONNECTIONNOTINIT (ERRID_IO - 16)
00115 #define ERRID_IO_PARSERERROR (ERRID_IO - 17)
00116
00117 #endif