Initializes internal structures and opens communication with the monitor process on the TX board.
MON_STATUS MonMgmtInit ( U8 board, U8 srcEnt, U8 srcInst )
|
Argument |
Description |
|
board |
TX board number on which the desired monitor task resides. |
|
srcEnt |
Source entity ID. |
|
srcInst |
Source instance ID. |
|
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. |
This function must be called before any other management functions can be used. Source entity must be unique for each application accessing the monitor task.
Note: An application that opens both the management and data functions must use different entity IDs for MonMgmtInit and data bind request calls.