Summary of Reported Errors

Cascade Driver for Hilscher Fieldbus CIF Cards: Version 4.1
Prev |  | Next

# Appendix A. Summary of Reported Errors

This section provides a reference list of the error messages potentially generated by the Cascade Driver.

`DR_API_ADMIN_ERRORS` are generated by the administrator. This group includes the following:

`DR_ERR_NO_USER_OBJECT` | no user object to process
`DR_ERR_BAD_LICENSE` | Invalid license rejected
`DR_ERR_INSUF_PARMS` | Insufficient parms
`DR_ERR_CMD_INVALID` | invalid command: %d
`DR_ERR_NO_NAMESERVER` | Name server not running%s
`DR_ERR_ATTACH_TASKNAME` | Could not declare name %s to qnx server
`DR_ERR_ATTACH_NAMESERVER` | Could not attach to nameserver
`DR_ERR_PNT_NOT_FOUND` | point not found: %s
`DR_ERR_PNT_NOT_DISABLED` | point not disabled: %s
`DR_ERR_PNT_NOT_ENABLED` | point not enabled: %s
`DR_ERR_PNT_NOT_READABLE` | point not readable: %s
`DR_ERR_PNT_NOT_WRITEABLE` | point not writable: %s
`DR_ERR_PNT_TYPE_UNKNOWN` | unexpected point type %s: %d
`DR_ERR_PNT_TYPE_NO_REP` | point type has no representation: %s %d
`DR_ERR_DEV_INVALID` | invalid device: %d
`DR_ERR_DEV_IO_FAILURE` | I/O failure (%d) on device %d
`DR_ERR_DEV_IO_FAILED` | I/O failure on device %d
`DR_ERR_BLK_INVALID` | invalid buffer id: %d
`DR_ERR_BLK_NOT_FOUND` | dev %d :buffer %d not found
`DR_ERR_BLK_OFS_INVALID` | offset %d out of range
`DR_ERR_BLK_SIZE_INVALID` | size %d out of range
`DR_ERR_BLK_TYPE_INVALID` | unknown type %s added to buffer %d:%d
`DR_ERR_BLK_TYPE_CREATE` | failed to create type block %s for buffer %d:%d
`DR_ERR_BLK_BUFFER_SMALL` | message data buffer too small for data block of length %d
`DR_ERR_INTR_ATTACH_FAILED` | failed to attach interrupt %d (errno = %d)
`DR_ERR_INTR_PROXY_FAILED` | failed to attach interrupt proxy (errno = %d)

`DR_API_ERRORS` are generated by the API functions. This group includes the following:

`DR_API_ERR` | API Error
`DR_API_PNT_ERR` | Point not accesible
`DR_API_BLK_ERR` | Data Block access error
`DR_API_BLK_OSIZE_ERR` | Requested block size too large
`DR_API_BLK_DATAP_ERR` | Missing Data parm
`DR_API_BLK_NO_DEV_ERR` | Device not available

The `DR_API_STATUS_ERRORS` indicate an error that is not sub-system specific. The `DR_API_IPC_ERRORS` indicate an interprocess communication error. Both groups use a specific error from the `ST_STATUS` group of errors. The `ST_STATUS` error consist of the following:

`ST_OK` | No error
`ST_ERROR` | Error
`ST_NO_TASK` | No such task
`ST_NO_MSG` | No message available
`ST_WOULDBLOCK` | Action would block
`ST_INTR` | Action was interrupted
`ST_FULL` | Queue is full
`ST_LOCKED` | Point is locked
`ST_SECURITY` | Insufficient security level
`ST_NO_POINT` | Point does not exist
`ST_INSIG` | Value change was insignificant

Prev | Home | Next
Generic Command Responses | Up | Command Reference

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.