J1939GetPGN
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
dword J1939GetPGN (pg* aPG); // form 1dword J1939GetPGN (dword canId); // form 2
Description
Returns the parameter group number (PGN) of a parameter group or CAN ID.Parameters
- aPG: The function returns the PGN of this parameter group.
- canId: The function returns the PGN of this CAN ID.
Return Values
- 0..3FFFFh: Parameter group number.