on ethernetErrorPacket
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
on ethernetErrorPacket *;// form 1on ethernetErrorPacket msgChannel<X>.*;// form 2on ethernetErrorPacket ethernetPort::<Network>::<PortName>.*;// form 3
Description
The event procedure is called on the receipt of an invalid Ethernet packet with checksum or length error. To access the control information you would use selectors. The keyword this is available within an on ethernetErrorPacket procedure, to access the data of the packet that has just been received. CAPL programs are by default not transparent to bus events. This means that a CAPL node in the evaluation branch of the measurement configuration will block the data flow to its right side. You must explicitly program the passing of messages in CAPL nodes in the evaluation branch. To make the CAPL node transparent to messages you would write:Parameters
- msgChannel
<X>: Ethernet channel number, range 1..32. - ethernetPort::
<NetworkName>::<PortName>: Ethernet port qualification.