Function
It returns from the state of the event.
Format
Ret = DioResetPatternEvent ( Id , &Data[0] )
Parameters
Id
[C:short] [Python: ctypes.c_short]
Specifies the device ID retrieved from DioInit.
Data [C:unsigned
char *] [Python: ctypes.POINTER(ctypes.c_ubyte)]
Output data is put in the array. The array is specified for the number
of ports in order of port number.
Output data is specified from 0H to FFH by the hexadecimal number.
Return Value
Ret [C:long] [Python: ctypes.c_long]
Definition |
Value [Dec] |
Description |
DIO_ERR_SUCCESS |
0 |
Normal complete |
DIO_ERR_DLL_INVALID_ID |
10001 |
Invalid ID is specified. |
The other errors: (See also: Error code details)
Initial Value
None
Remarks
It returns from the state of the event.
Example
C |
Ret = DioResetPatternEvent(
Id , &Data[0] ); |
Python |
Ret = cdio.DioResetPatternEvent(
Id , Data ) |
See Also