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

mostGetTxLight

Valid for: CANoe DE

Function Syntax

long mostGetTxLight(long channel);

Description

Queries the Light Status at the Fiber Optical Transmitter (FOR).

Parameters

  • channel: Channel of the interface to be queried.

Return Values

  • 0: Light out
  • 1: Modulated light
    • Bypass/Slave: Tx has light modulation of the Rx
    • Master: Master light
  • 2: Constant light
  • \< 0: See error codes

Example

mostSetTxLightmostGetRxLightmostGetChannelOnMostTxLight