Share
The following is a list of utility return status codes. These error codes are available in the file UTILDEFS.H. These error codes may be converted into a printable ASCII string by calling ar_get_error(). For the CEI-x20, you can call this function with a status value of ARS_LAST_ERROR to return extended error information if any is available. There is only one extended error buffer, so you should retrieve this information immediately after an error has occurred to prevent its contents from being over written. Not all errors generate extended error information. If no extended error information is available, ARS_LAST_ERROR returns the extended error information from the previous error that generated extended error information.
Error | Code | Description |
ARS_NODATA | 0 | No data in receive buffer |
ARS_NORMAL | 1 | Function normal/successful completion |
ARS_GOTDATA | 4 | Receiver returned data |
BTD_ERR_NOWINRT | 50 | WinRT driver not loaded/started |
BTD_ERR_BADREGISTER | 51 | WinRT parameters don't match registry |
BTD_ERR_BADOPEN | 52 | WinRT device open failed |
BTD_NO_SUPPORT | 53 | Bus/Carrier/OS not supported by API |
ARS_INVHARCMD | 1002 | Invalid configuration command |
ARS_INVHARVAL | 1003 | Invalid configuration value |
ARS_XMITOVRFLO | 1004 | Transmit buffer full, no data inserted |
ARS_INVBOARD | 1005 | Invalid board argument |
ARS_NOSYNC | 1006 | Timeout synchronizing with the ARINC |
ARS_BADLOAD | 1007 | Could not successfully load firmware |
ARS_BRDNOTLOAD | 1008 | Board micro-code load is not running or board has not been initialized. |
ARS_SYNCTIMEOUT | 1009 | Error initializing timer |
ARS_SYNCOVERRUN | 1010 | Host CPU can't keep up with data rate |
ARS_BADINIT | 1011 | Can't initialize timer on slave |
ARS_MEMADERR | 1012 | Memory address mapping error |
ARS_MEMWRERR | 1013 | Dual-Port memory write/read-back error |
ARS_INVSTRING | 1014 | Invalid string |
ARS_INVEQID | 1015 | Invalid equipment ID |
ARS_CHECKSUM | 1016 | Checksum error loading slave |
ARS_NORESPONSE | 1017 | No response on receiver |
ARS_UNSUPTYPE | 1018 | Translation not available for type |
ARS_INVARG | 1019 | Invalid argument to function |
ARS_INVLABEL | 1020 | Invalid label |
ARS_DRIVERFAIL | 1021 | Driver load failed |
ARS_WINRTFAIL | 1022 | WinRT Device Driver Error |
ARS_CHAN_TIMEOUT | 1023 | Time out while commanding CEI-x20 brd |
ARS_NO_HW_SUPRT | 1024 | Function not supported by hardware |
ARS_BAD_DAC_VAL | 1025 | Specified DAC value bad (255) |
ARS_BAD_FPGA | 1026 | Bad num of transmitters or receivers |
ARS_BAD_STATIC | 1027 | Internal memory read/write failure |
ARS_LAST_ERROR | 1028 | Returns additional info about prev error |
ARS_HW_CONSISTENCY | 1029 | Hardware config is not consistent |
ARS_HW_DETECT | 1030 | Failed to detect CEI-xxx hardware |
ARS_WRAP_DATA_FAIL | 1031 | Internal wrap test data failure |
ARS_WRAP_RATE_FAIL | 1032 | Wrap Test timetag/baud rate mismatch |