Function
Resets device and initializes driver.
Format
Ret = AioResetDevice ( 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 |
10001 |
Invalid Id was specified |
10002 |
AIO driver can't be called |
20003 |
Can not use because another process is using the device |
Remarks
Outputs reset command to device, all of the parameters in device return to initial values.
Even if the device is in operation, the function can be performed and the operation of device stops.
Example
Resets device and initializes driver.
C, C++ |
long Ret; |
Python |
Ret = ctypes.c_long() |
See also