I\'m developing an instrument driver for a Laboratory Information System. I want to know how to calculate the checksum of a frame.
Explanation of the checksum algorit
private bool CheckChecksum(string data) { bool isValid =false byte[] byteToCalculate = Encoding.ASCII.GetBytes(dataToCalculate); int checkSum = 0; for ( int i=i i