3 start reading in – Campbell Scientific PC208 Datalogger Support Software User Manual

Page 59

Advertising
background image

SECTION 4. SPLIT

4-5

CAUTION: For the /M option to produce a
correct OUTPUT file, the differences
between the two input files can only be
question marks. Both files must have the
same START condition or the beginning of
both files must be the same.

/# This sets the field width of the OUTPUT
column to whatever is specified. Valid entries are
0,1,6,7,8 and 9. The default width is 8. Zero (0)
is a special case number that will cause the
OUTPUT file to be written in COMMA
SEPARATED ASCII instead of FIELD
SEPARATED ASCII (default). 1 will cause the
output file to be written in PRINTABLE ASCII.
This format is ambiguous for data arrays of 200
or more points and should be avoided for
purposes other than printing. Low resolution Final
Storage data (see datalogger manual) requires a
minimum width of 7. High Resolution Final
Storage data requires a minimum width of 8.

EXAMPLE: LOGAN.PRN/0

This causes the OUTPUT file to be written in
COMMA SEPARATED ASCII.

NOTE: Related to option /# is the {:n}
command which is entered in the
"HEADINGS for column" line to control the
number of digits output to the right of the
decimal. Refer to Section 4.3.8 for details.

/O Omit writing to screen for faster execution.
The data is written to file only.

EXAMPLE: LOGAN.PRN/O

Omits writing to the screen.

/P Sends the OUTPUT data to an on-line
printer. The default file is also made. This
option cannot be used with the /R option.

EXAMPLE: LOGAN.PRN/P

Sends data to printer.

/R This option writes a report file to disk with
the extension name .RPT, to be printed later.
The default file is also made. The .RPT file
includes the report headings and column
headings. This option cannot be used with the
/P option.

EXAMPLE: LOGAN.PRN/R

Sends OUTPUT to file and gives extension
name .RPT.

/S Suppresses form feed and page breaks to
printer or .RPT file when /P or /R is specified.

EXAMPLE: LOGAN.PRN/P/S

Suppresses form feed and page breaks to
printer.

/T Transposes the rows and columns of the
input file. Only one INPUT file can be
transposed at a time and no SELECT (Section
4.3.6) options can be specified. A maximum of
26 arrays are transposed per pass of SPLIT.
To transpose a file containing more than 26
arrays, several passes are required, changing
the OUTPUT filename and START condition for
each pass. SPLIT may then be used to merge
the multiple files.

EXAMPLE: LOGAN.PRN/T

Transposes the INPUT file.

4.3.3 START READING IN

A starting point may be specified to begin
processing data. If "START reading in" is left
blank, SPLIT will start processing data at the
beginning of the data file. The starting point can
be any element within the array or a
combination of elements within an array.

For example, the data in Table 4.3-1 contains 7
elements per OUTPUT array, representing
hourly data. Assume that this data file contains
one month of hourly data. To start processing
data at 1500 hours on the first day, our START
value is expressed as 3[1500], where 3 is the
third element within the array and 1500 is the
value of that third element.

The syntax can be expressed as:

e

i

[val

i

]

where e

i

= element within the array

val

i

= the value of that element.

Advertising