MonSetTrace

Sets the debug output level for the monitor task.

Prototype

MON_STATUS MonSetTrace ( U8 board, U16 traceLevel )

Argument

Description

board

TX board number on which the desired monitor task resides.

traceLevel

New trace level that can be set to the following levels:

#define MON_TRACE_ERROR 0x01
#define MON_TRACE_WARNING 0x02
#define MON_TRACE_DEBUG 0x10

These values can be combined using the OR operator. The default trace level is MON_TRACE_ERROR.


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.