#ifndef ERR_H
    #define ERR_H
/*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;  Copyright (c) 1995-1999, ADLink Technology Inc.  All rights reserved.  ;;
;;                                                                         ;;
;;      File Name   :   HSLerr.H                                           ;;
;;      Purpose     :   Error Number Definition for PCI-7852/51            ;;
;;      Date        :   10/09/2001                                         ;;
;;      Revision    :   1.10                                               ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;*/

enum {
	ERR_NoError,				//0
    ERR_BoardNoInit,			//1
    ERR_InvalidBoardNumber,		//2
    ERR_PCIBiosNotExist,		//3
    ERR_OpenDriverFail,			//4
    ERR_MemoryMapping,			//5
    ERR_ConnectIndex,			//6
    ERR_SatelliteNumber,		//7
	ERR_CountNumber,			//8
	ERR_SatelliteType,			//9
	ERR_NotADLinkSlaveType,		//10
	ERR_ChannelNumber,			//11
	ERR_OverMaxAddress,			//12
	ERR_AIRange,				//13
	ERR_AISignalType,			//14
	ERR_AICJCStatus,			//15
	ERR_CJCDirection,			//16
	ERR_Timeout,				//17
	ERR_CreateTimer,			//18
	ERR_PIDCreateFailed,		//19
	ERR_PIDStartFailed,			//20
	ERR_PIDNoOutput,			//21
	ERR_PIDNoFeedBack,			//22
	ERR_NoPIDController,		//23
	ERROR_LogicInput,			//24
	ERROR_OS_UNKNOWN,			//25
	ERROR_AI16AO2_SignalRangeError, //26
	ERROR_AI16AO2_ReadError, //27
	ERROR_AI16AO2_LastChannelError, //28
	ERROR_AI16AO2_SetDataError,	//29
	ERROR_Read_Signal_Type, //30
	ERROR_AO_Channel_Input, //31
	ERROR_AI_Channel_Input, //32
	ERROR_DA_Channel_Input, //33
	ERROR_Over_Voltage_Spec, //34
	ERROR_File_Open_Fail, //35
	ERROR_TrimDAC_Channel,//36
	ERROR_Over_Current_Spec, //37
};
#endif  /* end ifndef ERR_H */

