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

mostGenerateLockError

Valid for: CANoe DE Note
This functionality is only available for VN2600/VN2610/VN2640 hardware, OptoLyzerOL3150o (firmware version >= V1.5.3) and OptoLyzerOL3050e (firmware version >= V1.5).

Function Syntax

long mostGenerateLockError(long channel, long unmodtime,
long modtime, long repeat);

Description

Starts (repeat > 0) or stops (repeat = 0) generation of Light Unmodulated-Modulated transitions. For OptoLyzerOL3150o: The stress network interface controller (NIC) must have its bypass opened (see mostSetStressNodeParameter).

Parameters

  • channel: Channel of the connected interface.
  • unmodtime: Time during which unmodulated light is emitted (in ms).
  • modtime: Time during which modulated light is emitted (in ms).
  • repeat:
    • 0: Stops the generation of Unmodulated-Modulated transitions
    • >0: Number of transitions
    • 0xFFFF: Generate Unmodulated-Modulated transitions continually

Return Values

See error codes.

Example

mostGenerateBusloadAsyncmostGenerateBusloadCtrlmostGenerateLightErrorOnMostStress | mostGetChannelon mostLightLockErrormostGenerateBypassToggle