CAPL Script

Can Get Data Length

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 canGetDataLength(message msg);

Function

Returns the valid payload length of the can message.

Parameters

msg CAN message

Return Values

0 — 64

—