PORTSTATS

Port statistics

Platform:

OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7, SMART2

This log conveys various status parameters of the receiver’s communication ports. The receiver maintains a running count of a variety of status indicators of the data link. This log outputs a report of those indicators.

Message ID: 72

Log Type: Polled

Recommended Input:

log portstatsa once

ASCII example:

#PORTSTATSA,USB1,0,50.0,FINESTEERING,2209,510485.000,12000020,a872,16809;26,COM1,0,957,0,0,142,0,0,0,0,COM2,0,957,0,0,142,0,0,0,0,COM3,0,957,0,0,142,0,0,0,0,FILE,0,0,0,0,0,0,0,0,0,USB1,180716,115373935,180716,0,0,0,0,0,0,USB2,0,0,0,0,0,0,0,0,0,USB3,0,0,0,0,0,0,0,0,0,COM4,140,0,140,0,40,0,0,0,0,ICOM1,0,0,0,0,0,0,0,0,0,ICOM2,0,0,0,0,0,0,0,0,0,ICOM3,0,0,0,0,0,0,0,0,0,NCOM1,0,0,0,0,0,0,0,0,0,NCOM2,0,0,0,0,0,0,0,0,0,NCOM3,0,0,0,0,0,0,0,0,0,ICOM4,0,0,0,0,0,0,0,0,0,WCOM1,0,7,0,0,0,0,0,0,0,COM5,0,6,0,0,4,0,0,0,0,CCOM1,0,0,0,0,0,0,0,0,0,CCOM2,0,0,0,0,0,0,0,0,0,CCOM3,0,0,0,0,0,0,0,0,0,CCOM4,0,0,0,0,0,0,0,0,0,CCOM5,0,0,0,0,0,0,0,0,0,CCOM6,0,0,0,0,0,0,0,0,0,ICOM5,0,0,0,0,0,0,0,0,0,ICOM6,0,0,0,0,0,0,0,0,0,ICOM7,0,0,0,0,0,0,0,0,0*2739d038

Parity and framing errors occur for COM ports if poor transmission lines are encountered or if there is an incompatibility in the data protocol. If errors occur, you may need to confirm the bit rate, number of data bits, number of stop bits and parity of both the transmit and receiving ends. Characters may be dropped when the CPU is overloaded.

Field

Field type

Description

Format

Binary Bytes

Binary Offset

1

Log header

PORTSTATS header

For information about log headers, see ASCII, Abbreviated ASCII or Binary.

 

H

0

2

#port

Number of ports with information to follow

Long

4

H

3

port

Refer to Table: Communications Port Identifiers

Enum

4

H+4

4

rx chars

Total number of characters received through this port

Ulong

4

H+8

5

tx chars

Total number of characters transmitted through this port

Ulong

4

H+12

6

acc rx chars

Total number of accepted characters received through this port

Ulong

4

H+16

7

dropped rx chars

Number of software overruns in receive

Ulong

4

H+20

8

interrupts

Number of interrupts on this port

Ulong

4

H+24

9

breaks

Number of breaks (only for serial ports)

Ulong

4

H+28

10

par err

Number of parity errors (only for serial ports)

Ulong

4

H+32

11

frame err

Number of framing errors (only for serial ports)

Ulong

4

H+36

12

rx overruns

Number of hardware overruns in receive

Ulong

4

H+40

13

Next port offset = H+4+(#port x 40)

14

xxxx

32-bit CRC (ASCII and Binary only)

Ulong

4

H+4+
(#port x 40)

15

[CR][LF]

Sentence terminator (ASCII only)

-

-

-