Difference between revisions of "File format:Saleae"

From sigrok
Jump to navigation Jump to search
(start input/saleae file format page, link to vendor FAQ)
 
(info box, --show output)
Line 1: Line 1:
{{Infobox file format
| id              = saleae
| name            = Saleae Logic export files
| status          = in progress
| extensions      = '''.bin'''
| source_code_in  = saleae.c
| source_code_out  =
| mime_type        = —
| is_ascii        = no
| compression      = optional (every sample, or when changed)
| website          = [https://support.saleae.com/faq/technical-faq/binary-export-format-logic-2 Saleae FAQ]
}}
Saleae's '''Logic''' application can export captures in different formats. CSV and VCD are supported by other input modules. Binary exports for digital and analog data can be taken care of by an '''input/saleae''' input module.
Saleae's '''Logic''' application can export captures in different formats. CSV and VCD are supported by other input modules. Binary exports for digital and analog data can be taken care of by an '''input/saleae''' input module.
== Format ==
See the vendor's technical FAQ in the [[#Resources]] section.
== Implementation ==
A WorkInProgress(TM) input module provides the following UI. User specs are required where file content lacks necessary information.
  <small>
  $ 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)
  </small>


== Resources ==
== Resources ==

Revision as of 20:57, 12 June 2020

saleae
Name Saleae Logic export files
Status in progress
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. Binary exports for digital and analog data can be taken care of by an input/saleae input module.

Format

See the vendor's technical FAQ in the #Resources section.

Implementation

A WorkInProgress(TM) input module provides the following UI. 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)
 

Resources