User`s guide
2: DDCMP DLI Functions
DC 900-1343D 45
2.5.2.2 Request Link Statistics Report
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_GET_STATISTICS_REPORT to request link statistics. The DDCMP software
maintains a set of link statistics. The report consists of 16 words (32 bytes) of statistics.
The link statistics report is also sent to the client in response to a Clear Statistics com-
mand (Section 2.5.1.2).
The format of the
dlRead link statistics report response (the pOptArgs.usProtCommand
field is set to DLI_PROT_GET_STATISTICS_REPORT by the DLI) is shown in Table 2–9.
Table 2–9: Link Statistics Report Definition
Word Statistic
1 NAKs received for header BCC errors
2 NAKs received for buffer BCC errors
3 NAKs sent for header BCC errors
4 NAKs sent for buffer BCC errors
5 NAKs sent for no buffer available
6 NAKs received for no buffer available
7 REPs sent (local reply timeouts)
8 REPs received (remote reply timeouts)
9 NAKs sent for receive overruns
10 NAKs received for receive overruns
11 NAKs sent for message too long
12 NAKs received for message too long
13 NAKs sent for header format error
14 NAKs received for header format error
15 Data blocks sent
16 Data blocks received