00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef ERROR_H
00025 #define ERROR_H
00026
00027 #include <string.h>
00028 #include <stdio.h>
00029
00030 #include <qstring.h>
00031 #include <qwidget.h>
00032 #include <qmsgbox.h>
00033
00034
00035 #define E_TIMEOUT "timeout "
00036 #define E_CAMAC "CAMAC error "
00037 #define E_BUS "Bus error "
00038 #define E_FILENOTFOUND "file not found "
00039 #define E_ALLFUCKEDUP "all is fucked up "
00040 #define E_DEVICE_NOT_FOUND "Couln't find device "
00041 #define E_CLOSING_DEVICES "while closing devices "
00042 #define E_RANGE "due to wrong range "
00043 #define E_IB_WRITE "Ib write to "
00044 #define E_IB_READ "Ib read from "
00045 #define E_GPIB "GPIB error "
00046 #define E_OPEN "Could not open file "
00047 #define E_SYS_MEM "Not enough memory "
00048 #define E_FILE_NOT_FOUND "File not found : "
00049 #define E_NOT_SEND "Could not send data"
00050 #define E_NOT_RECEIVE "Error receiving data"
00051 #define E_CMD_NOT_SEND "Could not send command"
00052 #define E_NUMBER_TOO_LARGE "Number larger than 16 bit"
00053
00054 int Ierror(char *,char *,char *);
00055
00056 #endif