RtfwEnableMonitoring
RtfwEnableMonitoring enables wRTOS Monitoring within the Subsystem.
Syntax
bool RtfwEnableMonitoring(
);
Parameters
This function has no parameters.
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.
Possible error codes:
| Error code | Meaning |
|---|---|
|
RT_ERROR_MONITORING_ENABLED |
Monitoring is already enabled. |
|
RT_ERROR_SUBSYSTEM_NOT_STARTED |
The wRTOS Subsystem is not started. |
Remarks
If Monitoring support is disabled, you will not be able to start monitoring deterministically. By disabling monitoring support, the Subsystem does not allocate and create the necessary infrastructure to support event collection.
Monitoring cannot be started when it’s disabled, nor can it be disabled when it’s started.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtfwApi.h |
RtfwApi.lib |
See Also: