5 editing commands, 6 running split from a command line, 1 splitr command line switches – Campbell Scientific RTDAQ Software User Manual

Page 331

Advertising
background image

Section 10. Utilities

10.3.5 Editing Commands

Split supports the Windows Cut, Copy, and Paste commands. Text from any
field in Split or other Windows applications can be Cut, Copied, or Pasted.

10.3.6 Running Split From a Command Line

Existing parameter files can be executed using Splitr.exe which is a "run-time"
version of the Split Report Generator. When Splitr.exe is run, the file is
processed as if the user chose Run | Go from the Split menu. Splitr.exe can be
executed by the Task Master, from a batch file, or from a Windows command
line prompt or shortcut.

10.3.6.1 Splitr Command Line Switches

Splitr has four switches that can be used to control how the executable is run.

10.3.6.1.1 Closing the Splitr.exe Program After Execution (/R or /Q Switch)

Typically when Split is run, after the file is processed the user must close the
Screen Display window. When Splitr.exe is run from a command line, the user
must also close the Screen Display window unless the /R switch is used.

The syntax for this switch is:

SPLITR LOGAN/R

where LOGAN is the parameter file name.

The /R switch should follow immediately after the parameter file name with no
space between the two. If a space is used, the following message will be
displayed "There was a problem opening the input file. File could not be
found or may be in use."

The /Q switch is similar in function and syntax to /R. However, if Split
encounters an error when processing the file, no message box is displayed that
requires user response (the exceptions are a disk space error or an internal error
with the Split executable). This option should be used with caution, since
there will be no indication of a problem if a file cannot be processed.

10.3.6.1.2 Running Splitr in a Hidden or Minimized State (/H Switch)

Splitr can be run in a minimized state, so that the Screen Display window does
not interrupt other processes on the computer. The syntax for running Splitr
minimized is:

SPLITR /H LOGAN

where LOGAN is the parameter file name.

The /H switch must be positioned after SPLITR but before the parameter file
name, and a space is required between the executable name and the switch.

10-61

Advertising