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

mostSetTxLightPower

Valid for: CANoe DE Note
This functionality is only available for VN2600/VN2610/VN2640 hardware.

Function Syntax

long mostSetTxLightPower(long channel, long power);

Description

Sets the intensity of the light at the Fiber Optical Transmitter (FOT). The result is reported by means of the callback function OnMostStress().

Parameters

  • channel: Channel of the interface to be driven
  • power: valid values:
    • 50: 3db attenuated to normal intensity
    • 100: normal intensity

Return Values

See error codes.

Example

mostGetChannelmostSetTxLightmostGetTxLight