MonGetFilters

Retrieves a filter configuration from the monitor task that has been set for one specific link.

Prototype

MON_STATUS MonGetFilters ( U8 board, MonFilterList *pList, S16 linkNo )

Argument

Description

board

TX board number on which the desired monitor task resides.

plist

Pointer to a MonFilterList structure where the data link configuration values are filled:

typedef struct _MonFilterList
{
    U8 numActive;
    U8 spare;
    U16 spare2;
    MonFilterDef filter[MON_MAXFILTERS];
} MonFilterList;

linkNo

Link number from the configuration file.


Return values

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.


See also

MonSetFilter