RDAppStatus
RDAppStatus
RDAppStatus can be added to RDSelector block to get the information about connectivity and heartbeat message quality of the redundant application having the same name as the RDAppStatus block.
The information can be useful for example for external QoS calculation, when needed to select one from currently alive redundant applications.
RDAppStatus Output Arguments
| Name | Type | Description |
|---|---|---|
| HBAlive | bool | Is set to true when the application named like this block is connected and heartbeat messages from it are received during the configured maximum allowed delay |
| Index | unsigned char | Zero-based index of the application named like this block in the redundant application list (i.e. in RDSelector RDAppList) |
| HBMissedCount | uint64_t | Shows the number of heartbeat messages that have been missed since startup or last CM_RESET message |
| HBReceivedCount | uint64_t | Shows the number of heartbeat messages received since startup or last CM_RESET message |
| HBPeriod | double | Period between last heartbeat packets received, in seconds |
See also RDSelector.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.