ngscopeclient / scopehal

Test and measurement hardware abstraction library and protocol decodes. This is the library only. Most users should use scopehal-apps.
BSD 3-Clause "New" or "Revised" License
216 stars 97 forks source link

Add V2/V4 Siglent BIN import filter #788

Open hansemro opened 1 year ago

hansemro commented 1 year ago

Resolves #721.

This allows importing of analog/math/digital waveforms from V2/V4 Siglent BIN waveform formats. However, the current decoding implementation targets little endian systems and may not work on big endian systems.

Siglent scopes that export V2 BIN format:

Siglent scopes that export V4 BIN format:

V2 and V4 spec details can be found on page 29 and 37 of E02A document, respectively.

E02A: https://web.archive.org/web/20230730072643/https://www.siglenteu.com/wp-content/uploads/2021/08/How-to-Extract-Data-from-the-Binary-File.pdf

hansemro commented 1 year ago

Defined Oscilloscope::ConvertUnsigned16BitSamples with generic, AVX2, and AVX2-FMA implementations.