15 return errors, 92 function library – ADLINK PCI-8124-C User Manual
Page 102

92
Function Library
6.15 Return Errors
The following table provides a list of possible return value in our
library. If the return value is not zero, it means there are some
errors occurred. This could help you to check the program easier
and make it correctly.
Error Codes:
Code
Define
Description
0
ERR_NoError
No Error, function success
-1
ERR_OSVersion
Operation System type mismatched
-2
ERR_OpenDriverFailed
Open device driver failed - Create driver interface failed
-3
ERR_InsufficientMemory
System memory insufficiently
-4
ERR_DeviceNotInitial
Cards not be initialized
-5
ERR_NoDeviceFound
Cards not found(No card in your system)
-6
ERR_CardIdDuplicate
Cards' ID Number duplicate
-7
ERR_DeviceAlreadyInitialed Cards have been initialed
-8
ERR_InterruptNotEnable
Cards' interrupt events not enable
-9
ERR_TimeOut
Function time-out
-10
ERR_ParametersInvalid
Function input parameters are invalid
-11
ERR_SetEEPROM
Set data to EEPROM failed
-12
ERR_GetEEPROM
Get data from EEPROM failed
-1000
ERR_Win32Error
WIN32 API function error, please contact with ADLINK's FAE staff.