Resets driver's process information to avoid 20003 error.
Ret = AioResetProcess ( Id )
Id
[ VB.NET : Short ] [ C, C++ : short ] [ C# : short ] [ Python : ctypes.c_short
]
Specifies the device ID retrieved from AioInit.
Ret [ VB.NET : Integer ] [ C, C++ : long ] [ C# : int ] [ 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 |
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.
VB.NET |
Dim
Ret As Integer |
C, C++ |
long
Ret; |
C# |
int
Ret; |
Python |
Ret
= ctypes.c_long() |