DioRealTimeCompareClearResultMemory

Applies To

GX5290, GX5295, File

Purpose

Clears all the onboard comparison result memory.

Syntax

DioRealTimeCompareClearResultMemory (nHandle, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Board or File Board handle.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The board has to be in Real Time Compare operating mode prior calling this function. See the DioDomainSetupOperatingMode function for more details.

This function is called by the driver internally whenever the DioArm command is called.

Note: the Real Time Compare functionality is supported by GX529x boards with firmware versions 0x8A00 and above.

The onboard comparison result memory is cleared each time the board is triggered.

Example

 

DioRealTimeCompareClearResultMemory (nHandle, &nStatus);

 

See Also

DioRealTimeCompareSetupConditionValue, DioRealTimeCompareSetupDataDelay, DioRealTimeCompareSetupInputDataClockEdge, DioRealTimeCompareSetupResultsDataType, DioRealTimeCompareSetupStopCondition, DioRealTimeCompareWriteExpectedMemory, DioRealTimeCompareWriteMaskMemory, DioRealTimeCompareReadResults