[Kst] reading files of hex
Simon Bridger
simon at i2cchip.com
Thu Dec 30 02:41:22 CET 2004
Hi,
We have an IC (BL233) that interfaces a PC serial/usb ports to I2C/SMBUS/SPI.
It is commanded in ascii, and it returns bytes that it reads as ascii HEX.
KST looks like it would be a nice way for people to plot data collected from
I2C chips like a-d convertors, temperature sensors etc.
For this kst would need to be able to read ascii hex from data files, both
single and multibyte hex values.
This capabilty might be easy to add if you are using scanf or similar for your
ascii import.
Preferably it would also be able to byte swap for LSByte first devices, and
signed an unsigned data.
Also from experience it needs to be able to ignore short or broken lines.
Also it is desireable to be able to specify values , and data ranges, that
have special meanings: Missing data, bad data, +limit, -limit.
regards
Simon Bridger
More information about the Kst
mailing list