Skip to main content
Open topic with navigation

frSetTrigger

CAPL Functions » FlexRay » frSetTrigger Valid for: CANoe DE Note
The function is supported by VN interfaces only!

Function Syntax

long frSetTrigger( long channel, long portNo );

Description

This function activates the Trigger output of the selected VN interface. The VN interfaces provide three different trigger ports. The ports can be set separately.

Parameters

  • channel: FlexRay channel (cluster number). The channel number identifies the VN interfaces in case several interfaces are active.
  • portNo: 1-3: Number of corresponding trigger output. The PIN assignment is defined in the manual of the network interface.

Return Values

  • 0: Error

Example