Fading Coder

One Final Commit for the Last Sprint

Key Practical Tips for Effective CAPL Development in CANoe 12

Local variables in CAPL behave like C static variables by default. For example: on key 'b' { incrementCounter(); } void incrementCounter() { byte tempVal = 0; tempVal++; writeLineEx(-3, 1, "Current tempVal: %d", tempVal); } Hitting 'b' seven times prints values 1 through 7, not 1 repeatedl...

Working with RS232 in CAPL: Open, Configure, Send, Receive, and Close

The CAPL RS232 API used for serial communication and shows how to open, confiugre, transmit, receive, and close a serial connection. Key functions: RS232Open(port) RS232Configure(port, baudrate, dataBits, stopBits, parity) RS232Send(port, buffer[], count) RS232Receive(port, buffer[], size) RS232Clos...