DioRealTimeCompareClearChannelsStatus

Applies To

GX5295

Purpose

Clears all the channnels’ in the domain per channel failed status.

Syntax

DioRealTimeCompareClearChannelsStatus (nMasterHandle, pnStatus)

Parameters

Name
Type
Comments
nMasterHandle  
SHORT
Board handle.
pnStatus
LONG
Returned status: 0 on success, negative number on failure.

Comments

All boards in the domain have to be in Real Time Compare operating mode prior calling this function. See the DioDomainSetupOperatingMode function for more details.

All boards in the domain have to set the Real Time Compare mode to DIO_RTC_MODE_FIRST_FAIL_PER_CHANNEL mode using DioRealTimeCompareSetupMode API prior calling this function. See the DioRealTimeCompareSetupMode function for more details.

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

Note: Real Time Compare with per channel fail functionality is supported only by GX5295 boards with firmware versions 0xF605 and above.

Arming clears all the channnels’ in the domain per channel failed status.

Example

DioRealTimeCompareClearResultMemory (nHandle, &nStatus);

 

See Also

DioRealTimeCompareReadChannelsStatus, DioRealTimeCompareSetupActiveChannels, DioRealTimeCompareSetupMode, DioRealTimeCompareSetupConditionValue, DioRealTimeCompareSetupDataDelay, DioRealTimeCompareSetupInputDataClockEdge, DioRealTimeCompareSetupResultsDataType, DioRealTimeCompareSetupStopCondition, DioRealTimeCompareWriteExpectedMemory, DioRealTimeCompareWriteMaskMemory, DioGetErrorString