Skip to main content
Open topic with navigation CAPL Functions » MOST » OnMostEclSequence

OnMostEclSequence

Valid for: CANoe DE Note
This function is only available with MOST hardware VN2640.

Function Syntax

OnMostEclSequence(long state);

Description

The event procedure is called before the beginning and after the end of a sequence on the Electrical Control Line. Within this event procedure the functions mostEventChannel, mostEventTime and mostEventOrigTime can be used to call up supplemental information.

Parameters

  • state
    0: ECL sequence is stopped
    1: ECL sequence is started

Return Values

Example

Output of ECL sequence changes with time stamp.
OnMostEclSequence(long state)
{
    if(state == 0)
        write("ECL sequence stopped at %fs", MostEventTimeNs() / 1.0e9);
    else
        write("ECL sequence started at %fs", MostEventTimeNs() / 1.0e9);
}
mostSetEclmostSetEclGlitchFiltermostConfigureEclSequencemostGenerateEclSequence