Command-Line Options

RMCWin can be started with various command-line options. These options can be used to ensure that the program starts with the correct settings. Notice that most users will have no need for these options because they are saved from one execution of RMCWin to another. Options given on the command-line override the previously saved settings.

The following options are available:

-1, -2, -3, -4

Select COM1, COM2, COM3 or COM4 as the serial port to use. This will override any communication path setting for the current board file.

 

-Dn

Generate a debug log file named Debug.txt in the current directory. The logging level is controlled by n, which can be from 0 (no logging) to 5 (most logging). There is no logging enabled by default.

-F

Force initialization onto module. See Forcing Initialization for details.

-L

Start in Look-only mode. See Using Look-only Mode for details.

-M

Allow multiple instances of RMCWin to run at once with the same board file open. The copy of RMCWin that is started with this command and all subsequent RMCWin instances started can run at the same time. This will continue until the Limit Instances to One per Board File check box on the Preferences tab of the Options dialog box is set.

-P

Start RMCWin with the communication path closed. This can be used for demonstrations or offline editing.

-R

Start in Read-back mode. See Read-back versus Write Mode for details.

-W

Start in Write mode. See Read-back versus Write Mode for details.

Board file

The parameter after the filename that does not start with a ’r;-’ or ’r;/’ gives the board filename that is used on startup (e.g. rmcwin carriage.bd1). See Using Multiple Motion Modules for details on board files.

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.