MPISqNodeStatusPacketError
Definition
typedef struct MPISqNodeStatusPacketError { int32_t rate; int32_t count; } MPISqNodeStatusPacketError;
Description
MPISqNodeStatusPacketError contains packet error counters and rate counters. Each SynqNet node has a packet error counter and a packet error rate counter. Packets addressed to a node are checked for integrity.
The packet error counters are used to monitor int32_t-term data integrity. These counters do not trigger any fault or fail actions. The packet error counter is incremented once for each missing or invalid packet. Typically, an application will periodically read the packet error counters and store the values in a log.
The packet error rate counters are used to trigger fault recovery and/or failure shutdown. The packet error rate counter is incremented for each missing or invalid packet and is decremented for 16 consecutive valid packets. Thus, the packet error rate counters can detect large errors over short periods of time or small errors over int32_t periods of time.
rate | The packet error rate counter. The valid range is 0 to 255. The value saturates at 255. A value of -1 indicates the controller was unable to read the data from the node due to a failed connection. |
---|---|
count | The packet error counter. The valid range is 0 to 255. The value saturates at 255. A value of -1 indicates the controller was unable to read the data from the node due to a failed connection. |