RtMonitorSetPreTriggerEventsToSave

RtMonitorSetPreTriggerEventsToSave sets the transient value of the number of pre-start-trigger events to save in a monitor session. Pre-start-trigger events are events that occur before the event that triggers the start of a monitoring session.

Syntax

BOOL RtMonitorSetPreTriggerEventsToSave(
    uint32_t preTriggerEventsToSave
);

Parameters

preTriggerEventsToSave

Sets the transient value of the number of pre-start-trigger events to save.

The number of pre-start-trigger events to save must not exceed the maximum number of events to save in a given session.

Return Value

Returns TRUE if successful, otherwise it returns FALSE and sets the last error value.

Requirements

Minimum Supported Version

RTX64 4.2

Header

Rtapi.h

Library rtx_rtss.lib (RTSS), rtapi.h (Windows)

See Also: