Binary Export Format - Version 0

This documentation is for binary export version 0, which is still in use for Logic 8, Logic Pro 8, and Logic Pro 16. Upcoming products use version 1, which is documented in the support article here: Binary and CSV Export Formats - 2025 Update

Logic 8, Logic Pro 8, and Logic Pro 16 exports will be updated to use the new version 1 binary export format soon, but for now, they only support the original version, version 0.

The binary file format summarized in this support article pertains to binary files exported via exporting raw data described in the support article linked below.

Exporting Data

If you were looking into converting your .sal capture file into the binary file format described in the support article, you can refer to the support article linked below.

Is the .sal File Format Documented?

Binary Export Format (Version 0)

In Logic 2, both digital and analog binary files start with the same header, which can be used to determine the type of data stored in the file.

  • All multi-byte values are in little endian byte-order

  • Floating point values are IEE754

Digital and analog binary files have the same initial header that can be used to determine whether it is a valid Saleae binary export file, the version, and whether it contains analog or digital data.

byte[8] identifier;
int32 version;
int32 type;

For Saleae binary exports, the identifier will always be <SALEAE>. The current version is 0.

Types: 0 - Digital 1 - Analog

The remaining format is based on the type of the data.

Digital Binary Format (Version 0)

File structure (starting with the shared header above)

Analog Binary Format (Version 0)

File structure (starting with the shared header above)

Sample Python code for reading binary data

Digital data

Example output:

Analog data

Example output:

Community Shared Binary Parser

A community user has generously shared their C-based binary parser for digital channels! Their GitHub repository for it can be found here: saleae-binparser

Logic 1.x

If you are using Logic 1.x, please refer to the articles below.

Binary Export Format (Digital) - Logic 1.xBinary Export Format (Analog) - Logic 1.x

Last updated