Advanced Topic 5

Table of Contents

◄PREVIOUS NEXT►

The Command line Interface

The MiniSim can be launched from a DOS prompt. The active directory for the DOS prompt must be the MiniSim ‘bin’ folder: C :\MiniSim-vx.x.x\bin.


The following are the command line options: -go.cmd This is the name of the MiniSim launch batchfile

-Scenario [filename]: Specifies the scenario filename to load, the scenario must be in the “minsim/data” directory, the filename must not contain spaces, the filename also must not contain path information.

-Subj [name]: Specifies the initial participant name to use. The participant name may not have spaces

-Expr [name]: Specifies the initial experiment name to use. The experiment name may not contain spaces

-AutoRun: Specifies that the system will run the scenario with the experiment and subject specified by the command line, then shutdown when the scenario has finished. The –Subj, -Expr, and –Scenario options must be set to use this option. This also restricts the front ends functionality.

-Daq [filename]: The filename with path to save the “.daq” file as, the filename may not include spaces. If this is not set, daq will use a timestamp and scenario name to create the filename, and the subject and experiment name to build the path.

-restart: This signifies to MiniSim that it is to restart the last drive at the location that it has saved internally (last valid position). The DAQ filename that is requested must be changed to reflect this, such as with a _R1, _R2 after it to signify restart 1, restart 2, etc..

A sample restart test sequence is as follows for two restarts, showing how the filenames increment:

CRASH.png

TOP


Advanced Topic 6

Changing the DAQ file location

The MiniSim by default will locate the data acquisition files (*.daq, or DAQ files) on the C:\ drive in the C:\DAQ folder. The daq.bat file is located in the C:\NadsMiniSim_v1.8.x\bin folder. To change the DAQ drive location, simply edit the file.

Figure 26: daq.bat file showing DAQ files are being saved on the D:\ drive

When launched from the command line, however, the MiniSim DAQ file location can be defined explicitly.

TOP

◄PREVIOUS NEXT►