RtvdbLogBackgroundProcess
RtvdbLogBackgroundProcess initializes and releases the data logger.
Syntax
DWORD RtvdbLogBackgroundProcess(
[in] RTVDB_DATABASE Database
);
Parameters
[in] Database
A database reference to compare with the selected logger channel.
Return Values
| Error code | Meaning |
|---|---|
|
ERROR_SUCCESS |
The function succeeded. |
|
ERROR_NOT_READY |
The calling process has not called RtvdbInitialize. |
|
ERROR_INVALID_PARAMETER |
Parameter Database is NULL. |
|
ERROR_INVALID_HANDLE |
Parameter Database points to a closed database. |
|
ERROR_INVALID_ENVIRONMENT |
The function is called from a non-real-time application. |
Remarks
RtvdbLogBackgroundProcess must be called by the background process of real-time applications that create databases to allow synchronized logging.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtvdbApi.h |
RtvdbApi_W64.lib (Windows), RtvdbApi.lib (RTSS) |
See Also: