Difference between revisions of "File format:Saleae"
Jump to navigation
Jump to search
(add category) |
(saleae exported file import is supported) |
||
Line 2: | Line 2: | ||
| id = saleae | | id = saleae | ||
| name = Saleae Logic export files | | name = Saleae Logic export files | ||
| status = | | status = supported | ||
| extensions = '''.bin''' | | extensions = '''.bin''' | ||
| source_code_in = saleae.c | | source_code_in = saleae.c | ||
Line 12: | Line 12: | ||
}} | }} | ||
Saleae's '''Logic''' application can export captures in different formats. CSV and VCD are supported by other input modules. | Saleae's '''Logic''' application can export captures in different formats. CSV and VCD are supported by other input modules. The '''input/saleae''' input module handles binary exports for digital and analog data. | ||
== Format == | == Format == | ||
Line 20: | Line 20: | ||
== Implementation == | == Implementation == | ||
The sigrok input module for Saleae exports provides the following options. User specs are required where file content lacks necessary information. | |||
<small> | |||
$ sigrok-cli -I saleae --show | $ sigrok-cli -I saleae --show | ||
ID: saleae | ID: saleae | ||
Line 33: | Line 33: | ||
logic_channels: The number of digital channels. Word size is used when not specified. (default 0) | logic_channels: The number of digital channels. Word size is used when not specified. (default 0) | ||
samplerate: The samplerate. Needed when the file content lacks this information. (default 0) | samplerate: The samplerate. Needed when the file content lacks this information. (default 0) | ||
</small> | |||
The .logicdata and the .sal file formats are not documented, and currently are not supported. | |||
== Resources == | == Resources == |
Revision as of 16:29, 24 July 2020
Name | Saleae Logic export files |
---|---|
Status | supported |
Source code (in) | saleae.c |
Common extension(s) | .bin |
MIME type | — |
ASCII format | no |
Compression | optional (every sample, or when changed) |
Website | Saleae FAQ |
Saleae's Logic application can export captures in different formats. CSV and VCD are supported by other input modules. The input/saleae input module handles binary exports for digital and analog data.
Format
See the vendor's technical FAQ in the #Resources section.
Implementation
The sigrok input module for Saleae exports provides the following options. User specs are required where file content lacks necessary information.
$ sigrok-cli -I saleae --show ID: saleae Name: Saleae Description: Saleae Logic software export files Options: format: Type of input file format. Not all types can get auto-detected. (default 'auto-detect', possible values 'auto-detect', 'logic1-digital', 'logic1-analog', 'logic2-digital', 'logic2-analog') changed: Sample value was saved when changed (in contrast to: every sample). (default false) wordsize: The number of bits per sample value for digital data. (default 8, possible values 8, 16, 32, 64) logic_channels: The number of digital channels. Word size is used when not specified. (default 0) samplerate: The samplerate. Needed when the file content lacks this information. (default 0)
The .logicdata and the .sal file formats are not documented, and currently are not supported.
Resources
- Vendor FAQ for Logic1 software versions, digital and analog data exports.
- Vendor FAQ for Logic2 software versions, digital and analog exports