FDXTriggerDataGroup
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
long FDXTriggerDataGroup (WORD goupID)
Function
This function triggers the transmission of a data group via CANoeFDX protocol.
Parameters
groupID ID of the FDX data group that should be transmitted.
Return Values
0: Success
-1: The given data group is not configured.
-2: No client is registered to receive this data group.
Reference example from the CANoe 12 help. Check the required configuration, database objects and API availability in your installed version; this is not a recorded compiler or runtime test.
// CANoe FDX data exchange synchronously to FlexRay cycle
// Whenever slot 5 of the FlexRay cycle will be reached, the FDX data group 10 is transmitted one time
on frSlot 5
{
FDXTriggerDataGroup(10);
}