CAN Bus : Reading PID - Buffer Issues?

Thanks for the message Gilshutz.

This code specifically queries the Engine ECU for a specific PID, and the response returns fairly quickly.

The problem is not the response time , but rather the transition from one PID to another

For example going from Engine RPM to Engine Temperature causes some of the buffer data to be shifted because RPM is 2 bytes and Temperature is 1 byte.

My main concern is clearing/resetting the buffer before the next PID is requested. I thought my clearBuf() function would do the job, but the data still shows random values.

Do you have any experience with clearing char type buffers/arrays?