User manual

PicoScope 6 User's Guide 185
Copyright © 2007-2013 Pico Technology Ltd. All rights reserved. psw.en r32
9.8
Command-line syntax
PicoScope can be run from the Windows command line, allowing you to run tasks
manually or under the control of a batch file or other program.
To display the GUI
PicoScope <filename>
<filename>
Specifies a single .psdata or .pssettings file.
Example: PicoScope C:\Temp\source.psdata
To display help
PicoScope /?
Shows help on all command line options.
To convert a psdata file
PicoScope /C,/c
Converts a psdata file from one format to another. Cannot be used with /p[rint].
Syntax:
PicoScope /c[onvert] <names> [/d <names>] /f <format> [/q]
[/b [<n>[:<m>]] | [all]] [/v <viewportname>]
<names>
Specifies a list of one or more directories or psdata files.
Wildcards may be used to specify multiple files. If a
directory is specified, all psdata files within that
directory will be specified. This is a mandatory
argument.
/d <names>
Destination. Default is input filename with new
extension.
/f <format>
Destination format: csv, txt, png, bmp, gif, agif
[animated GIF], psdata, pssettings, mat [MATLAB]. This
is a mandatory argument.
/q
Quiet mode. Do not ask before overwriting files. The
default is to prompt.
/b [<n>[:<m>]]|all
Waveform number n, waveform range n to m or all
waveforms. The default is the current waveform.
/v <viewportname>
View to convert. Default is current view.
Example:
PicoScope /c C:\Temp\source.psdata /f png /b 5:9 /v Scope2