Home | Products | Software | Download | News | Search | F.A.Q. |        

Classroom

 

Command line options for the Multi Channel software

print

Below is a list of the available command line options for the Multi Channel software.

Loading setfiles
-d setfile[.tps] Load desktop from setfile
-sa setfile[.tps] Load first scope settings from setfile into all scopes
-sn setfile[.tps] Load first scope settings from setfile into the nth scope
-ga setfile[.tps] Load first function generator settings from setfile into all function generators
-gn setfile[.tps] Load first function generator settings from setfile into the nth function generator
setfile[.tps] Load setfile. Auto detect file type


Saving files
-SaveAll setfile[.tps][,NoData] Save desktop to setfile
-SaveScp setfile[.tps][,Index=1][,NoData] Save scope number index to setfile
-SaveGen setfile[.tps][,Index=1][,NoData] Save generator number index to setfile
-SaveImg filename(.png/.bmp/.gif/.emf/.jpg)[,Index=1][,w=800][,h=600][,Scheme=Image standard] Save screenshot of graph number index to filename


Window size and position
-MWS FULL Maximize main window
-MWS width,height Set main window width1 and height1
-MWS left,top,width,height Set main window at position left1, top1 with width1 and height1

1. This value may be specified in pixels or percent (add a % sign to the value).


When Allow multiple instances is switched on in the Multi Channel software, each launch of the Multi Channel software will open a new instance. Any command line parameter is used in that instance. When Allow multiple instances is switched off (default), each launch will activate the current instance. Any command line parameter will be passed on to the current instance and executed there. Several command line options work best when Allow multiple instances is switched off.

The following applies to the command line parameters:

  • command line options are case-insensitive
  • values between [ ] are optional
  • values between ( ) are mandatory
  • values after = are the defaults.
  • if the option string contains spaces, it must be escaped with quotes
  • multiple command line options can be used in a single call

Examples

MultiChannel -d d:\source
Load desktop from d:\source.tps

MultiChannel -SaveAll d:\dest
Save desktop to d:\dest.tps, including data

MultiChannel -SaveScp d:\scope1,Index=1,nodata
Save scope number 1 to d:\scope1.tps, without data

MultiChannel -SaveImg "d:\with space.png,Index=2"
Save graph number 2 to d:\with space.png, with default color scheme, 800 pixels wide, 600 pixels high

MultiChannel -d d:\source -SaveAll d:\dest_nodata,nodata -SaveImg d:\dest.png -SaveImg "d:\with space.png,Index=2"
Load desktop from d:\source.tps, then save the desktop to d:\dest_nodata.tps without data, save an image of graph 1 in d:\dest.png with default color scheme and default dimensions and save an image of graph 2 in d:\with space.png.

print