Section 6 of the PicoScope manual decribes the file format. Here is a brief summary:
The file consists of a number of data blocks preceded by 20-byte headers. Each header contains five 32-bit integers (as described in the table below).
0 â€“ 3 Data format (0, 10 or 20)
4 â€“ 7 Number of values
8 â€“ 11 1
12 â€“ 15 0
16 â€“ 19 Name length
The â€˜Data formatâ€™ in the first 4-bytes describes the type of numerical data in the array.
0 Double (64-bit floating point)
10 Single (32-bit floating point)
20 Integer (32-bit)
Number of values
The â€˜Number of valuesâ€™ is a 32-bit integer describing the number of numerical values in the array. This value may be 1 for variables that only describe one value; but for arrays of samples or times, expect this to be a large number.
The â€˜Name lengthâ€™ is the length of the name of the variable as a null-terminated 1-byte per character ASCII string. The last null terminating character (â€˜\0â€™) is included in the â€˜Name lengthâ€™ so if the variable name is â€œTStartâ€