Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Open topic with navigation
CAPL Functions » General » Function Overview » triggerPDU
triggerPDU
Valid for: CANoe DE • CANoe4SW DE
Function Syntax
void triggerPDU(pdu myPDU);
Description
Triggers a PDU to be sent. If the PDU has an update bit it will be set. After the PDU was sent the update bit will be reset.
Parameters
Variable of type PDU.
Return Values
—
Example
on timer cyclic100ms
{
PDU randomPDU myPDU;
myPDU.signal1 = 10;
myPDU.signal2 = 20;
triggerPDU(myPDU);
}