RtfwStopMonitoring

RtfwStopMonitoring stops wRTOS Monitoring.

Syntax

Copy
bool RtfwStopMonitoring(
);

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_STOPPED

Monitoring is already stopped.

RT_ERROR_SUBSYSTEM_NOT_STARTED

The wRTOS Subsystem is not started.

Remarks

Monitoring cannot be started when it’s disabled, nor can it be disabled when it’s started.

If you attempt to open a session folder immediately after using this function to stop monitoring, you might encounter an exception due to the session still being written. When this occurs, wait a few moments before opening the session folder.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtfwApi.h

RtfwApi.lib

See Also: