LogPlot supports command line processing and command line batch file processing. The implications of this range from simple loading of a data file upon program launch, to automatic display of the data file and establishment of program settings and/or compiling of data files and display of a log.
These command line tools are used for a single data file only.
! See also Compiling a Log Batch if you wish to compile multiple data files, within the program itself, using menu settings.
Option 1: Load a Data File at Program Startup
If you want a particular data file to be loaded when LogPlot is started, simply list the name of the LogPlot data file (.DAT), including its full path, after the program name on the command line.
For example, to start up LogPlot and load the data file named "project_a.dat", you would use the following command line:
LogPlot7.exe c:\data\project_a\project_a.dat
If there are any space characters in the path, such as for the directory "Documents and Settings," be sure to enclose the information in quotation marks:
LogPlot7.exe "C:\Documents and Settings\user\My Documents\data\DH-01.dat"
Option 2: Load a Data File and Establish Settings at Program Startup
If you want to automate the steps of starting the LogPlot program, automatically loading a particular data file AND establishing a number of program settings, you can do so by creating a "batch" file. This file contains a list of batch commands that declare file names and program settings to be honored when the program starts.
To process a batch file when the LogPlot program is started, you list the "BATCH=" command and then the name of the LogPlot Batch file after the program name on the command line.
LogPlot7.exe "BATCH=C:\Documents and Settings\user\My Documents\data\batch_a.txt"
See the following topics for details about the batch command structure.
Option 3: Load a Data File, Establish Settings at Program Startup, AND Compile and Display the Log
If you want to automate the steps of starting the LogPlot program, automatically loading a particular data file and establishing a number of program settings, AND then compiling the data and displaying the log, this is also done by creating a "batch" file. This file contains a list of batch commands that declare file names and program settings to be honored upon program startup.
The difference between this batch and that in Option 2, above, is that this file contains the "DISPLAY" command.
To process a batch file when the LogPlot program is started, you list the "BATCH=" command and then the name of the LogPlot Batch file after the program name on the command line.
LogPlot7.exe "BATCH=C:\Documents and Settings\user\My Documents\data\batch_a.txt"
See the following topics for details about the batch file structure.
Topics: