Table of Contents

Name

errcodes - AccelNET error codes

General Information

This manual page lists error codes which are used by AccelNET. Not all situations use all of the error codes.

General Error Codes

ERRconn


I/O error - ie. socket no good, broken pipe or timeout on a socket.

ERRok


all ok, there is no error

Error Codes used for parameter values

ERRlim


data outside valid range.

This error may be returned when a parameter value is outside the PhyMin and PhyMax limits.

ERRimp


unimplemented DataType.

This error is returned when data conversion or update is attempted on a parameter for which the data type is unimplemented.

ERRwl


Write lock present.

An update was attempted and denied on a parameter that another job holds a write lock on.

ERRwp


no Write permission.

The job attempting the update did not have write permission.

ERRbadp


bad pointers.

Usually this error is seen when an invalid parameter tagname is used for an update.

ERRfail


general failure

A catchall for failures not covered by other error codes.

ERRnullp


null working pointer

This error code is used internally in places where it is desired to indicate that a working pointer is null. One could ask why ERRbadp isn’t used instead. Generally the user will not see this error.

ERRio


I/O error

An I/O subsystem can’t communicate with the hardware.

When a datapoint is in this state it is displayed in purple by Xcrt.

Many times this error is seen on ion source parameters because the isolation transformer is turned off and the data acquistion system on the source deck is unpowered.

Table management and allocation errors

Errors in this group pertain to AccelNET table management. Usually they are not directly seen by the user.

ERRmem


out of records or out of memory.

ERRdup


entry already in table.

ERRempty


list is empty.

ERRinvParent


invalid parent record (parent doesn’t exist).

ERRinvEntry


record doesn’t exist.

ERRinvLbl


invalid LABEL record.

ERRinvRef


invalid RefName record.

ERRinvDesc


invalid DESC record.

ERRinvData


invalid DATA record.

ERRinvPage


invalid PAGE record.

Que list management

Error codes in this section are used internally. Usually they are not seen by the user.

ERRqown


invalid Qown field in DATA record.

Write Lock management

Error codes in this section are sent in response to a write lock request. Most of the time they are not directly seen by the user.

ERRlockOK


lock already present and owned by calling task.

ERRlock


lock already present and owned by another task.    

Notes

The error codes are contained in ErrorCodes.h. Not all error codes are used by all programs.

Manual page revision

$Id: errcodes.7,v 1.0 2004/12/08 14:24:44 kitchen Exp $


Table of Contents