#capture #logic #binary #reading #data #importer #saleae

saleae-importer

A library for reading and writing Saleae Logic 2 binary capture data

1 stable release

1.0.1 Jan 28, 2023

#17 in #importer

Download history 1/week @ 2024-02-15 11/week @ 2024-02-22 11/week @ 2024-02-29 85/week @ 2024-03-07 4/week @ 2024-03-28

89 downloads per month

MIT license

8KB
141 lines

saleae-importer

A library for reading and writing Saleae Logic 2 binary capture data

Example

use saleae_importer::SaleaeExport;

let data = SaleaeExport::open("digital_0.bin").unwrap();

for (is_high, time_len) in data.assume_digital().iter_samples() {
    println!("bit state: {is_high} | time: {time_len}");
}

lib.rs:

A library for reading and writing Saleae Logic 2 binary capture data

Example

use saleae_importer::SaleaeExport;

let data = SaleaeExport::open("digital_0.bin").unwrap();

for (is_high, time_len) in data.assume_digital().iter_samples() {
    println!("bit state: {is_high} | time: {time_len}");
}

Dependencies

~2MB
~42K SLoC