Index: CN0_Python_Scripts/parser.py =================================================================== diff -u -rcf2d4ebc110a148e31ce7a7ee049691b101abe21 -re5e6c6f79e38c2f82de516ea81069dfe0fc558b5 --- CN0_Python_Scripts/parser.py (.../parser.py) (revision cf2d4ebc110a148e31ce7a7ee049691b101abe21) +++ CN0_Python_Scripts/parser.py (.../parser.py) (revision e5e6c6f79e38c2f82de516ea81069dfe0fc558b5) @@ -29,16 +29,16 @@ ts = datetime.now() if _id == b'r': - # print(f"{datetime.now()} Resistance: {value} Ohms | count={read_count} | err={error}") - data_analysis.log_to_excel("Resistance", ts, value, read_count, error) + # print(f"{datetime.now()} Conductivity: {value} Ohms | count={read_count} | err={error}") + data_analysis.log_to_excel("Conductivity", ts, value, read_count, error) else: # print(f"{datetime.now()} Temperature: {value} °C | count={read_count} | err={error}") data_analysis.log_to_excel("Temperature", ts, value, read_count, error) ######################################################################################################################## # This function parses and prints the received packet of calibration data and version information -MAX_VERSION_LENGTH = 13 -DATA_BYTES_PER_VER = 12 +MAX_VERSION_LENGTH = 12 +DATA_BYTES_PER_VER = 11 def parse_coeff_and_version(packet: bytes): i = 0