Error Codes

These are the error codes returned by the API.

CODEVALUEDESCRIPTION
NoError0Success!
Failed-1Non-descript failure. Often due to a lower-level operating system failure.
Timeout-2Transfer timed out.
DoneNotHigh-3Configuration failure due to DONE not high.
TransferError-4Transfer error. Often due to a lower-level operating system failure.
CommunicationError-5Communication error. Often due to a lower-level operating system failure.
InvalidBitStream-6Configuration bitstream is invalid.
FileError-7File could not be opened. Check paths and assumptions.
DeviceNotOpen-8Device is not open or is no longer available.
InvalidEndpoint-9Invalid FrontPanel endpoint. See the FrontPanel documentation for endpoint ranges.
InvalidBlockSize-10Invalid Block Size. See the API documentation for details.
I2CRestrictedAddress-11See the API documentation for details.
I2CBitError-12See the API documentation for details.
I2CNack-13See the API documentation for details.
I2CUnknownStatus-14See the API documentation for details.
UnsupportedFeature-15The requested action is not supported. Often this means that an improper parameter was offered to the  API. Check the API documentation and make sure you’re following all parameter requirements for lengths, etc.
FIFOUnderflow-16Transfer FIFO issue. PCI Express devices only.
FIFOOverflow-17Transfer FIFO issue. PCI Express devices only.
DataAlignmentError-18Transfer alignment error. PCI Express devices only.
InvalidResetProfile-19Reset profile is invalid. Check and validate parameters.
InvalidParameter-20Please check the API documentation.
OperationInProgressTBDReturned if another API function is still in progress. This can happen if two threads make overlapping calls to the same FrontPanel object. If this happens, the connection to the device is immediately closed so that subsequent calls will see DeviceNotOpen.