MXIO_Init_ActiveTag_Ex

 

This function code is used to start receive active tag of ioLogik Ethernet Module.

 

C/C++

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

 

VISUAL BASIC

Declare Function MXIO_Init_ActiveTag_Ex 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 receive an active Tag form ioLogik Ethernet module.

wSize

Queue size of each device for active tag.

 

Return Values :

Succeed

MXIO_OK

Fail

Refer to Return Codes.