Wave:CLI: Difference between revisions

From BlueM
Jump to navigation Jump to search
mNo edit summary
Line 16: Line 16:
==Convert==
==Convert==
<pre class="dos">
<pre class="dos">
Wave.exe -convert file1[, file2[, ...]] file_out
Wave.exe -convert [-i] file1[, file2[, ...]] file_out
</pre>
</pre>


Import one or multiple files and export them as CSV to <code>file_out</code>, without showing the Wave GUI at all.
Import one or multiple files and export them as [[CSV-Format|CSV]] to <code>file_out</code>, without showing Wave.


<div class="info">'''Note:''' All time series contained in all input files will be imported and then exported to the CSV output. To change this, use a [[Wave project file|WVP file]] as input in which the series to import or the import settings are already specified.</div>
The option <code>-i</code> (interactive) will show the Import File Dialog for files containing multiple time series. Without the option <code>-i</code> (non-interactive), no dialog will be shown and all series from all files will be imported.
 
<div class="info">'''Note:''' To specify which series to import from which files without interaction or to specify more import settings, use a [[Wave project file|WVP file]] as input.</div>


[[Category:BlueM.Wave]]
[[Category:BlueM.Wave]]

Revision as of 12:27, 24 September 2021

Wave.png Wave | Development

Wave has a commandline interface that offers the commands described below.

Type Wave.exe -help to get help in the console.

Import

Wave.exe -import file1[, file2[, ...]]

Import one or multiple files and then show Wave.

Note: Depending on the file format, the file import dialog may be shown when importing files using the CLI. To avoid this, use a WVP file as input in which the series to import or the import settings are already specified.

Convert

Wave.exe -convert [-i] file1[, file2[, ...]] file_out

Import one or multiple files and export them as CSV to file_out, without showing Wave.

The option -i (interactive) will show the Import File Dialog for files containing multiple time series. Without the option -i (non-interactive), no dialog will be shown and all series from all files will be imported.

Note: To specify which series to import from which files without interaction or to specify more import settings, use a WVP file as input.