//Messages for event log
//warning - this file gets about a bit. If modified, copy to 
//Distrib\C and Distrib\VC. Also used by lc4hs.dll (from here) so you 
//better rebuild that, as well


#define LC4HS_ERR_FIRST					
#define LC4HS_ERR_CHECK_STRING_NOT_FOUND	0xE0000101	// returned by Init
#define LC4HS_ERR_TRANSMIT_FAILED			0xE0000102	// returned by Init/Finish
#define LC4HS_ERR_RAM_ERROR					0xE0000103	// returned by Init
#define LC4HS_ERR_A2D_ERROR					0xE0000104	// returned by Init
#define LC4HS_ERR_X244_ERROR				0xE0000105	// returned by Init
#define LC4HS_ERR_NEED_CAL_AND_PARAMS		0xE0000106	// returned by Init
#define LC4HS_ERR_NORESPONSE_FLAG			0xE0000107	// returned by Init
#define LC4HS_ERR_NORESPONSE_STATUS			0xE0000108	// returned by Init
#define LC4HS_ERR_ALREADY_STARTED			0xE0000109	// returned by Init
#define LC4HS_ERR_ALREADY_STOPPED			0xE000010A	// returned by Finish
#define LC4HS_ERR_NOT_READY					0xE000010B	// returned by Poll functions if card not ready
#define LC4HS_ERR_READ_TIMEOUT				0xE000010C	// returned by Get functions if card does not respond
#define LC4HS_ERR_NOT_STARTED				0xE000010D	// returned by Get functions if state is not appropriate
#define LC4HS_ERR_DIGITAL_OUTPUT_WRITE		0xE0000110	// returned by SetDigitalOutput if readback fails

/*user mode error*/
#define LC4HS_ERR_INVALID_CHANNEL			0xE0000111  //returned by GetZeroAD, + Poll/Read functions

#define LC4HS_DETECT_CONFIGURED				0x01		//card is already successfully configured
#define LC4HS_DETECT_RESOURCE_CONFLICT		0x02		//memory belongs to another device
#define LC4HS_DETECT_NOT_FOUND				0x03		//card not detected
#define LC4HS_DETECT_NEW_CARD				0x04		//new card detected (present but not configured) 

