ethernetPacket::GetBitLength
Valid for: CANoe DE • CANoe4SW DEMethod Syntax
dword ethernetPacket.GetBitLength(char protocol[], char field[]);
Description
Returns the number of bits of the specified field as dword. If protocol or field is not contained in the packet, the measurement is stopped with a runtime error. ethernetPacket::IsAvailable can be used to find out if the field is available.Parameters
- protocol: Name of the protocol.
- field: Name of the field.