EasyManua.ls Logo

Advantech ADAM-5000L/TCP - Page 93

Advantech ADAM-5000L/TCP
341 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6
Planning Your Application Program
ADAM5KTCP_Debug
Description: Trace the executive information about streaming data
mechanism in ADAM5KTCP.DLL
(It is convenient to troubleshooting of user’s appli-
cations.)
Syntax: int ADAM5KTCP_Debug(int *iMatchIndex,
int
*iReceiveCount, int *iThreadRun, int *iTotalStream,
char szFromIP[]);
Parameters:
*iMatchIndex[out]: indicating which ADAM-5000/TCP cause signaling
the event object
0 means the first ADAM-5000/TCP, 1 means second,
2 means third, and so on. The ordinal is implied when
calling “ADAM5KTCP_Add5KTCPForStream()”
function.
*iReceiveCount[out]: counts how many stream data have arrival
*iThreadRun[out]: indicating the working thread status in
ADAM5KTCP.DLL
*iTotalStream[out]: reserved
szFromIP[out]: specify the IP Address of ADAM-5000/TCP which
sends the stream data.
Return: Please refer to Chapter 6-2-4 “Return Codes” for more
detail information
6-26 ADAM-5000/TCP User’s Manual

Table of Contents

Related product manuals