Appendix b. command line operation, B.1 introduction, B.2 additional command line parameter options – Campbell Scientific CSM1 Card Storage Module User Manual

Page 69: Nocolor, Slot n or socket n

Advertising
background image

B-1

Appendix B. Command Line Operation

B.1 Introduction

All options in SMCRead can be specified as command line parameters when
the program is run. This enables semi-automated reading of the cards as
SMCRead can be called from a DOS batch file.

The parameters should be entered in the order that they would be entered when
running SMCRead. If you wish, you can spell out the name of the option
selected in full, as only the first character of the option is read by SMCRead.

An example is:

SMCRead all dfiles comma programs pfiles download prog1 1 q

This is equivalent to:

SMCRead a dfiles c p pfiles d prog1 1 q

This executes SMCRead and all data files are collected and stored in files with
a root name of DFILES.DAT in comma delineated format. All the program
files are then collected and stored in a series of files with a root name PFILES.
A new program stored in PROG1.DLD is then loaded into program area 1 in
the card. Finally, SMCRead quits.

There are some special command line parameter options (see below) which
should be entered before parameters which you wish to use to select normal
menu options.

B.2 Additional Command Line Parameter Options

NOCOLOR

If poor contrast is apparent as a result of trying to simulate SMCRead’s screen
colors when running SMCRead on a computer with an LCD screen, the
contrast may be improved by entering NOCOLOR before menu commands.

Q

If you enter Q before menu command line parameters SMCRead runs in quiet
mode, i.e. it does not beep.

Slot n or Socket n

Specifies the default slot/socket number n.

Advertising