Can I ask a question though: I don't quite seem to understand the conventions used in the spec in section 7.2 you're referring to. E.g. the second field
char signature ; "PicoLog for Windows"
does this mean 40 bytes (since char is 1 byte)? When I look the file and read 40 bytes I get "Picolog for Windows" plus a bit of non-ascii,
"Picolog for Windowsz@@@@@@@@@"
which is not the signature mentioned in the spec.
So my question is really very basic: can I take that
char is 1 byte
UNS8 is 1 byte unsigned
UNS16 is 2 bytes unsigned
UNS32 is 4 bytes unsigned
UNS16 parameters ; is an array of 250 elements, each 2 bytes
short is 2 bytes
long is 4 bytes
Is this correct? Would of great help if you could confirm.