Crate saleae_importer
source ·Expand description
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}");
}
Structs
The data for analog capture exports
The data for digital captures exported by saleae logic 2
A binary representing data parsed from a Saleae Logic 2 digital.bin export file
An iterator over the sample data returning pairs of (bool, f64) representing
whether the sample is high (true) or low (false) as well as the length of the sample