Section 9. doc2csi utility – Campbell Scientific PC208 Datalogger Support Software User Manual

Page 107

Advertising
background image

9-1

SECTION 9. DOC2CSI UTILITY

This is a simple utility that converts datalogger programs created with EDLOG 5.4 (.DOC files) to the
format used by EDLOG 6.2 or newer (.CSI files). The .CSI file is created in the current directory.

To use DOC2CSI type:

DOC2CSI oldname newname loggertype

Where oldname is .DOC file, newname is the
.CSI file to create, and loggertype is 21X, CR7,
CR10, CR10X, or CR10T. You do not need to
specify the extensions (.DOC or .CSI).

For example, to convert the program
weather.doc written for a CR10X to
weather1.csi:

DOC2CSI weather weather1 CR10X

DOC2CSI does not create a new program .DLD
file. This is created by EDLOG when the new
.CSI file is compiled.

Special cases:

Comments to the right of P97 for 21X and
CR7 are lost.

Comments created with Ctrl-N (whole line
comments) in the middle of an instruction
are lost.

Comment to the right of the table interval
are lost.

Duplicate labels are set to no label i.e.
_________ and a warning is printed.

Special characters (@$%^...) in labels are
replaced with _ .

DOC2CSI will use Input Location labels from
the .DLD file. If the .DLD file is not found, labels
in the .DOC file will be used. Using labels from
the .DOC file may result in an incomplete set of
labels as not all labels are found in the .DOC
file.

Advertising