Instruction manual

SECTION 6. PROGRAM CONVERSION
6-2 PC208W, Version 3.0, Instruction Manual
6.1.4 NOTES
There are some instances where complete
program information is not converted from
*.DOC files to the *.CSI files. Notes on these
instances follow:
Comments to the right of the P97
instruction for the 21X and CR7 are lost.
Comments created with CTRL+N (whole
line comments) in the middle of an
instruction are lost.
Comments 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 (@#$%^, etc.) in labels
are replaced with the underline character
(_).
DOC2CSI will use Input Location labels
from the old program’s *.DLD file. If a
*.DLD file is not found, labels from the
*.DOC file will be used. Use of these labels
from the *.DOC file may result in an
incomplete set of labels, since not all labels
are found in the *.DOC file.
6.2 CR10 PROGRAMS TO CR10X
Though programming instructions for the CR10
and CR10X are similar, CR10 programs should
be converted to ensure proper operation on a
CR10X. Conversion of the CR10 programs will
allow you to use the CR10X-specific options
and instructions within the Edlog program.
The following steps explain how to convert a
CR10 program to a CR10X program. The
sequence in which these steps are performed is
critical. To ensure the program is converted
successfully, follow the steps as listed.
1. Open Edlog by choosing Program from the
main PC208W toolbar. Open the existing
CR10 program. The datalogger caption in
the top left portion of the screen should read
"CR10".
2. The first line of text in the program file
should read " ;{CR10} ". Edit this text so it
reads " ;{CR10X} ".
3. Choose Save or Save As from the File
menu. When asked whether or not to
compile the program, select No.
4. Close the file and then reopen it. The
datalogger caption in the top left corner of
the screen should now read "CR10X".
NOTE: CR10 programs created with Edlog
version 5.4 or earlier must first be converted
using DOC2CSI.
6.3 XLATE
Xlate is a utility which is used to convert 21X(L)
programs into CR23X programs. Like the
DOC2CSI utility discussed above, Xlate is not a
PC208W menu option, but it has been shipped
as part of the PC208W software suite. When
the PC208W software is installed, Xlate is
installed in the PC208W\BIN directory.
To start Xlate, double-click on the Xlate.exe file
in the PC208W\BIN directory. The Xlate main
window has a toolbar with three items: File,
Options, and About (About provides information
on the version of Xlate you are using). Use of
the Xlate utility is explained below.
6.3.1 FILE MENU
To process a file using Xlate, choose Translate
from the File menu. A standard Windows
dialog box appears on the screen displaying all
of the Edlog programming files (*.CSI) resident
in the current directory. Select the file or files to
be translated and choose OK. Depending upon
your setup in the Options menu (see below),
you will be prompted to enter a filename or the
file(s) will be processed immediately. The
translated file(s) will be saved to your current
directory.
To view an Edlog programming file, choose
View File from the File menu. To clear the
display, choose Close File. The program is
terminated by choosing Exit.
6.3.2 OPTIONS MENU
When the Options menu item is chosen, the
following dialog box appears on the screen: