Skip to main content
Open topic with navigation CAPL Functions » MOST » mostSetEcl, mostGetEcl

mostSetEcl, mostGetEcl

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

Function Syntax

long mostSetEcl(long channel, long eclState);
long mostGetEcl(long channel);

Description

mostSetEcl switches the Electrical Control Line which can be used for wake-up and diagnosis purposes. mostGetEcl returns the current state of the Electrical Control Line.

Parameters

  • channel: Channel of the connected interface.
  • eclState:
    • 0: low
    • 1: high

Return Values

Example

OnMostEclmostSetEclTerminationmostWakeupmostGenerateEclSequence