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

OnMostTxLight

Valid for: CANoe DE Note: Only available with VN2600/VN2610!

Function Syntax

OnMostTxLight(long mode);

Description

The event procedure is called as soon as the light status of the fibre optical transmitter (FOT) is switched. Note: The event procedure is only called if the light status has been switched by the application (see also mostSetTxLight).

Parameters

  • mode: Light status of the FOT:
    • 0: FOT disabled: Tx light off
    • 1: FOT enabled: TimingMaster: Modulated light on; TimingSlave/Bypass: Tx light = Rx light
    • 2: FOT enabled: Constant light on

Return Values

Example