Retrieves and potentially resets general statistical information from the monitor task.
MON_STATUS MonGetGenStats ( U8 board, MonGenStats *pStats, Bool bReset )
Argument |
Description |
board |
TX board number on which the desired monitor task resides. |
pStats |
Pointer to a MonGenStats structure where the data link configuration values are filled: typedef struct _MonGenStats |
bReset |
Flag that indicates whether or not to set statistics to zero after retrieval. |
Return value |
Description |
MON_BOARD |
Board number out of range. |
MON_DRIVER |
CPI driver returned an error. |
MON_HANDLE |
Board not previously initialized. |
MON_LINKTYPE |
Invalid link or switch type. |
MON_PARAM |
Invalid parameter. |
MON_RESPONSE |
Wrong response from board. |
MON_SUCCESS |
|
MON_TIMEOUT |
No response from board. |