<protocol>.<field>
ethernetPacket Selectors: <protocol>.<field>
Valid for: CANoe DE • CANoe4SW DE
Selectors
byte ethernetPacket.<protocol>.<field>;word ethernetPacket.<protocol>.<field>;dword ethernetPacket.<protocol>.<field>;qword ethernetPacket.<protocol>.<field>;
Description
Read or write access to protocol fields. See protocol overview for protocol and field designators. If<protocol> or <field> is not contained in the packet, the measurement is stopped with a runtime error. ethernetPacket::<protocol>::IsAvailable and ethernetPacket::<protocol>::<field>::IsAvailable can be used to find out if the field is available.
The data type depends on the protocol field. The bit length is rounded up to next larger CAPL data type, i.e. a 4-bit protocol field will use byte and a 12 bit protocol field will use word.
This selector is available for protocol field of type integer. For protocol fields, which are not of type integer, the method GetData and SetData can be used.