Function
Resets driver's process information to avoid 20003 error.
Format
Ret = AioResetProcess ( Id )
Parameters
Id [ C, C++ : short ] [ Python : ctypes.c_short ]
Specifies the device ID retrieved from AioInit.
Return values
Ret [ C, C++ : long ] [ Python : ctypes.c_long ]
Return values |
Content |
0 |
Normality completion |
7 |
Execute AioResetDevice function because the device has recovered from standby mode |
10001 |
Invalid Id was specified |
10002 |
AIO driver can't be called |
Remarks
In the period of debugging the application, the application is ended by force in the state that device is in operation. The function AioInit is ended normally, but the error of 20003 is returned on the other functions.
AioResetProcess is used to evade this state. Please use this function after executing the AioInit function.
But this function is used for avoiding the 20003 error which occurs when debugging an application, so do not use this function in a production program.
If the device is in operation, the function cannot be performed.
Example
C, C++ |
long Ret; |
Python |
Ret = ctypes.c_long() |