Skip to main content
Open topic with navigation CAPL Functions » VT System » OnSerialError

OnSerialError

Valid for: CANoe DE • CANoe:lite DE Note
This callback function must be implemented in the CAPL program by the user to get notifications when an error has occurred in an operation on a serial port of the VT7001 module. The callback can be installed using the CAPL function SerialSetOnErrorHandler.

Method Syntax

void <OnSerialError> (dword errorFlags);

Description

The function is called when an error has occurred in an operation on a serial port of the VT7001 module.

Parameters

  • errorFlags: Cumulative summary of what went wrong. Bits are set to flag conditions.
    Values see eVTSCurrentMeasurementRange
    Note
    Several error bits may be set at the same time. Some error flags are up to the driver manufacturer what they mean and when they are issued.

Return Values

Example

See example SerialConfigure