libsigrok supports a number of different input modules (a.k.a. file formats) and output modules, and has a generic API which allows easily adding more input/output modules.
Supported input/output formats
Name
|
Input
|
Output
|
Description
|
Analog
|
—
|
supported
|
Text output of analog data and types.
|
ASCII
|
—
|
supported
|
ASCII art.
|
Binary
|
supported
|
supported
|
Raw binary data output without any metadata attached.
|
Bits
|
—
|
supported
|
0/1 digits.
|
ChronoVu LA8
|
supported
|
supported
|
ChronoVu LA8 software file format (usually with .kdt file extension).
|
CSV
|
supported
|
supported
|
Comma-separated values (also usable for generating data and config files for gnuplot).
|
hex
|
—
|
supported
|
Hexadecimal digits.
|
Intronix Logicport LA1034
|
supported
|
—
|
Intronix Logicport LA1034 *.lpf files.
|
ols
|
—
|
supported
|
The file format used by the "Alternative" Java client for the Openbench Logic Sniffer.
|
saleae
|
supported
|
—
|
Files exported by the Saleae Logic application.
|
srzip
|
supported
|
supported
|
The current (v2) sigrok session file format (*.sr).
|
STF
|
supported
|
—
|
"Sigma Test File". Native format of the Asix Sigma/Omega vendor software.
|
VCD
|
supported
|
supported
|
The Value Change Dump format (can also be visualized in gtkwave, for instance).
|
WAV
|
supported
|
supported
|
The waveform audio (WAV) file format.
|
Raw analog
|
supported
|
—
|
Analog signals without header (configurable sample size, format, and endianness).
|
Lauterbach Trace32
|
supported
|
—
|
The Lauterbach Trace32 logic analyzer data file format.
|
WaveDrom
|
—
|
supported
|
Digital timing diagrams in JSON syntax
|
WARNING: The output formats apply only to unprocessed raw data. Data processed by decoders can't be saved into output file by argument, only by redirection of STDOUT
.
Supported transform modules
Name
|
Description
|
nop
|
Do nothing.
|
scale
|
Scale analog values by a specified factor.
|
invert
|
Invert values.
|
Possible candidates for future input/output formats