I was trying to save longer waveforms in the CVS format. I didn't find how to decode Siglent's binary format, it had quite big, also binary, header. I think it hung with more than 700,000 points.
Header is from 0x0 to 0x2B83 This is header.
signal data starts from 0x2B84 to end of data. This is normal waveform data where one byte is one sample.
If memory length is 700000 ksample this part length is 700000 bytes
0x2B83 is 11139 and then + 1 byte (0x0) header length is 11140 bytes. (fixed)
So, of course if you want 700k wfm data it hung bit over 700k
If you save 14 data points there is 14 data points in memory, exactly. And before these 14 data bytes there is 11140 bytes header.
If you know your settings it is not nessessary to know this header at all, Just use this data. I mean if you know V/div, offset, t/div, sample interval and so on, youi can just use these 8 bit data values.