PDIO_COUNT_CALLBACK


Function

Trigger callback type.

Format

PDIO_COUNT_CALLBACK ( Id, Message, Dir, Param )

Parameters

Id [C:short] [Python: ctypes.c_short]
Specifies the device ID retrieved from DioInit.

Message [C:short] [Python: ctypes.c_short]
The message ID that becomes the cause of invoking the call back function is passed.

Definition

Value

DIO_DMM_STOP

1440H

Dir [C:unsigned long] [Python: ctypes.c_ulong]
Transfer direction is passed.

Definition

Value

[Hex]

Description

DIODM_DIR_IN

0x01

Input

DIODM_DIR_OUT

0x02

Output

Param [C:void *] [Python: ctypes.c_void_p]
The optional parameter passed through DioDmSetCountEvent is passed.

Return Value

None

Remarks

Execute substance definition of specified number transfer stop callback function at this format.

See Also

DioDmSetCountEvent