<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
   - $Id: ASErrors.xml,v 1.1 2011-03-24 09:01:20 c.migoni Exp $
   - Author: Giuseppe Maccaferri
   -
   - History:
   -   18-01-2005  Created
   -   14-09-2005  Added error memebers
   -   12-05-2008 Added TrackingNotStarted error code
   -   16-07-2008 Modified for ACS7.0.1
-->

<Type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns="Alma/ACSError" xsi:noNamespaceSchemaLocation="Alma/ACSError ACSError.xsd"
 name="ASErrors" type="2003" _prefix="alma">

 <Code name="NoError" shortDescription="No error" description="No error condition found"/>
 <ErrorCode name="USDCalibrated" shortDescription=" " description="USD succesful calibrated">
 	<Member name="CammaLen" type="double" description="Length of camma-on window"/>
 	<Member name="CammaPos" type="double" description="Distance from top edge of the middle camma-on window"/>
 </ErrorCode>
 <ErrorCode name="LibrarySocketError" shortDescription="Socket error. Critical" description="Error encountered while creating or accessing socket resource" />
 <ErrorCode name="SocketReconn" shortDescription="Socket reconnected. Warning" description="Socket was broken. Reconnected successfully"/>
 <ErrorCode name="SocketFail" shortDescription="Unrecoverable socket problems. Critical" description="The socket connection could not be re established"/>
 <ErrorCode name="SocketTOut" shortDescription="Time out writing to socket. Critical" description="Time out writing to socket. Critical"/>
 <ErrorCode name="SocketNotRdy" shortDescription="Unable to allocate socket resource. Error" description="Unable to allocate socket resource. Error"/>
 <ErrorCode name="MemoryAllocation" shortDescription="Buffer can't be allocated. Error" description="Buffer can't be allocated. Error"/>
 <ErrorCode name="LANConnectionError" shortDescription="LAN/485 converter is not reachable or disconnected" description="LAN/485 converter is not reachable or disconnected"/>
 <ErrorCode name="LAN_Unavailable" shortDescription="The LAN component is unavailable" description="The LAN component is unavailable"/>
 <ErrorCode name="sendCmdErr" shortDescription="sendCmd() returned a wrong code. Error" description="sendCmd() returned a wrong code. Error"/>
 <ErrorCode name="Incomplete" shortDescription="Incomplete reply from USD. Warning" description="Incomplete reply from USD. Warning"/>
 <ErrorCode name="InvalidResponse" shortDescription="USD returned an invalid acknowledge code. Error" description="USD returned an invalid acknowledge code. Error"/>
 <ErrorCode name="Nak" shortDescription="USD does not acknowledge last command.Warning" description="USD does not acknowledge last command.Warning"/>
 <ErrorCode name="CDBAccessError" shortDescription="Error while accessing the Configuration Database.Error" description="Error while accessing the Configuration Database.Error">
 	<Member name="FieldName" type="string" description="FiledName"/>
 </ErrorCode>
 <ErrorCode name="USDConnectionError" shortDescription="USD is not reachable or disconnected.Critical" description="USD is not reachable or disconnected.Critical"/>
 <ErrorCode name="USDTimeout" shortDescription=" " description="Timeout on receive data from USD.Critical">
	<Member name="which" type="string" description="the usd location"/>
 </ErrorCode>
 <ErrorCode name="USDUnavailable" shortDescription="USD no more available.Warning" description="USD no more available.Warning"/>
 <ErrorCode name="USDError" shortDescription="generic USD error executing an action.Error" description="generic USD error executing an action.Error"/>
 <ErrorCode name="DevIOError" shortDescription="USD error reading or writing a property.Error" description="USD error reading or writing a property.Error">
 	<Member name="property" type="string" description="Name of the property"/>
</ErrorCode>
 <ErrorCode name="corbaError" shortDescription="CORBA system exception executing an action.Error" description="CORBA system exception executing an action.Error"/>
 <ErrorCode name="USDStillRunning" shortDescription="USD still running while shouldn't be!.Error" description="USD still running while shouldn't be!.Error"/>
 <ErrorCode name="USDunCalibrated" shortDescription="USD not calibrated.Warning" description="USD not calibrated.Warning"/>
 <ErrorCode name="CannotGetUSD" shortDescription="USD not activated.Warning" description="USD not activated.Warning"/>
 </Type>
