Share
The function ar_get_error() tranlates the following error codes. Look at the file IPAV_API.H for the current list of possible error codes and their explanations. The error strings are defined in AR_ERROR.H.
Error | Code | Description |
ARS_FAILURE | -1 | |
ARS_NODATA | 0 | No data in receive buffer |
ARS_NORMAL | 1 | Function normal/successful completion |
ARS_GOTDATA | 4 | Receiver returned data |
ARS_INVHARCMD | 1002 | Invalid configuration command |
ARS_INVHARVAL | 1003 | Invalid configuration value |
ARS_XMITOVRFLO | 1004 | Tx buffer full, no data inserted |
ARS_INVBOARD | 1005 | Invalid board argument |
ARS_BADLOAD | 1007 | Could not successfully initalize the board |
ARS_MEMWRERR | 1013 | Dual-Port memory write/read-back error |
ARS_INVARG | 1019 | Invalid argument to function |
ARS_DRIVERFAIL | 1021 | Device driver load failed |
ARS_WINRTFAIL | 1022 | WinRT Device Driver Error |
ARS_CHAN_TIMEOUT | 1023 | Time out waiting for receive data |
ARS_NO_HW_SUPRT | 1024 | Function not supported by hardware |
ARS_WRAP_DATA_FAIL | 1031 | Wrap test failed |
ARS_WRAP_RATE_FAIL | 1032 | Wrap data rate failed |
ARS_SHORT_DATA_FRAME | 1033 | Incomplete ARINC-708 data frame |
ARS_LONG_DATA_FRAME | 1034 | Too much data in ARINC-708 frame |
File I/O and transaction error codes
Error | Code | Description |
ARS_INVVERS | 2001 | |
ARS_TIMEOUT | 2002 | |
ARS_INVFILE | 2003 | |
ARS_INVCOMMVERS | 2004 | |
ARS_FILE_FAIL | 2005 | |
ARS_INV_CHANNEL | 2006 | |
ARS_NCTS | 2007 | |
ARS_BUSY | 2008 | |
ARS_FILETOOBIG | 2009 | |
ARS_NO_RECVR_RESP | 2010 | |
ARS_SEQUENCE_ERROR | 2011 | |
ARS_WRITE_BUFF_OVERFL | 2012 | |
ARS_UNEXPECTED_WORD | 2013 | |
ARS_INVALID_CASE | 2014 | |
ARS_DUPLICATE_LDU | 2015 | |
ARS_GOT_ALO | 2016 | |
ARS_GOT_TEST | 2017 | |
ARS_PATTERN_FAIL | 2018 | |
ARS_MEM_ALLOC_ERR | 2019 | |
ARS_NOT_OPENED | 2020 | |
ARS_EXCESS_NAK | 2021 | |
ARS_EXCESS_SYN | 2022 | |
ARS_NAK | 2023 | |
ARS_SYN | 2024 | |
ARS_EOF | 2025 | End Of File encountered |