7 function return code, 7function return code – ADLINK PCI-8144 User Manual
Page 165
Function Return Code
155
7
Function Return Code
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
error or warning occurred.
Error Code
Warning Code
Code
Define
Describtion
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
Check Win32 ErrorCode define
[win32 error code = -( code + ERR_Win32Error)]
Code
Define
Describtion
1
WAR_AccDecTimeTooLarge
Tacc/Tdec's value is too large
2
WAR_AccDecTimeTooSmall
Tacc/Tdec's value is too small
3
WAR_RampDownPointExceed The ramping down value is biger than it’s maximum value