MXIO_Init_ActiveTag

 

This function code is used to initiate receiving active tag from ioLogik device.

 

C/C++

int MXIO_Init_ActiveTag( WORD wDataPort, WORD wCmdPort, DWORD dwToleranceTimeout, DWORD dwCmdTimeout, pfnTagDataCALLBACK iProcAddress, WORD wSize);

 

VISUAL BASIC

Declare Function MXIO_Init_ActiveTag Lib "MXIO.dll" (ByVal wDataPort As Integer, ByVal wCmdPort As Integer, ByVal dwToleranceTimeout As Long, ByVal dwCmdTimeout As Long, ByVal nProcAddress As Long, ByVal wSize As Integer) As Long

Arguments:

wDataPort

TCP port number of Ethernet I/O device. Default:9900

wCmdPort

TCP port number of Ethernet I/O device. Default:9500

dwToleranceTimeout

active tag timeout tolerance for wDataPort.

The unit is in milliseconds.

dwCmdTimeout

active tag timeout tolerance for wCmdPort.

The unit is in milliseconds.

iProcAddress

Callback function, which is called after an active tag is received form ioLogik device.

wSize

Queue size of each device for active tag.

 

Return Values :

Succeed

MXIO_OK

Fail

Refer to Return Codes.