<?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=" " description="Time out writing to socket. Critical"/>
 <ErrorCode name="SocketNotRdy" shortDescription=" " description="Unable to allocate socket resource. Error"/>
 <ErrorCode name="MemoryAllocation" shortDescription=" " description="Buffer can't be allocated. Error"/>
 <ErrorCode name="LANConnectionError" shortDescription=" " description="LAN/485 converter is not reachable or disconnected"/>
 <ErrorCode name="LAN_Unavailable" shortDescription=" " description="The LAN component is unavailable"/>
 <ErrorCode name="sendCmdErr" shortDescription=" " description="sendCmd() returned a wrong code. Error"/>
 <ErrorCode name="Incomplete" shortDescription=" " description="Incomplete reply from USD. Warning"/>
 <ErrorCode name="InvalidResponse" shortDescription=" " description="USD returned an invalid acknowledge code. Error"/>
 <ErrorCode name="Nak" shortDescription=" " description="USD does not acknowledge last command.Warning"/>
 <ErrorCode name="CDBAccessError" shortDescription=" " description="Error while accessing the Configuration Database.Error">
 	<Member name="FieldName" type="string" description="FiledName"/>
 </ErrorCode>
 <ErrorCode name="USDConnectionError" shortDescription=" " 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=" " description="USD no more available.Warning"/>
 <ErrorCode name="USDError" shortDescription=" " description="generic USD error executing an action.Error"/>
 <ErrorCode name="DevIOError" shortDescription=" " description="USD error reading or writing a property.Error">
 	<Member name="property" type="string" description="Name of the property"/>
</ErrorCode>
 <ErrorCode name="corbaError" shortDescription=" " description="CORBA system exception executing an action.Error"/>
 <ErrorCode name="USDStillRunning" shortDescription=" " description="USD still running while shouldn't be!.Error"/>
 <ErrorCode name="USDunCalibrated" shortDescription=" " description="USD not calibrated.Warning"/>
 <ErrorCode name="CannotGetUSD" shortDescription=" " description="USD not activated.Warning"/>
 <ErrorCode name="UnknownProfile" shortDescription=" " description="Set profile is unknown for this station.Error"/>
 </Type>
