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

mostSetTxLight

Valid for: CANoe DE Note This functionality is available for:
  • VN2600/VN2610/VN2640
  • OptoLyzerOL3150o (firmware version >= V1.5.3)

Function Syntax

long mostSetTxLight(long channel, long txlight);

Description

Sets the Light Status at the Fiber Optical Transmitter (FOT).

Parameters

  • channel: Channel of the interface to be queried
  • txlight:
    • 0: disable FOT: Tx light off
    • 1: enable FOT:
      • TimingMaster: Modulated light on
      • TimingSlave/Bypass: Tx light = Rx light
    • 2: enable FOT: Constant light on (only available for VN2600/VN2610/VN2640/OptoLyzerOL3150o)
      • For OptoLyzerOL3150o: The stress network interface controller (NIC) must have its bypass opened (see mostSetStressNodeParameter).

Return Values

Example

mostGetRxLightmostGetTxLightmostSetTxLightPowermostGetChannelOnMostTxLightmostShutDown