C.2.1 steps for program conversion, C.2.1 – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 521

Advertising
background image

Appendix C. Table-Based Dataloggers

will calculate the amount of memory for the table based on the execution

interval.

The CR200 Series dataloggers have a Public table in which the current scan’s

measurements are held. However, the CR200 Series does not have the ability

to store multiple programs and program processing takes place in a linear

fashion, similar to the TD family of dataloggers (e.g., each programming

instruction is performed sequentially; one instruction must finish before the

datalogger proceeds with the next).

The CR200 Series dataloggers do not have an on-board compiler. Programs

must be precompiled by LoggerNet, or when using the CRBasic Editor, before

they are sent to the datalogger. Refer to Section 5.1.5.2, CR200 Series

Programs, for additional information about sending programs to CR200

dataloggers.

C.2 Converting an Array-Based Program to a

CR10X-TD Table-Based Program using Edlog

The following information is provided for those users familiar with writing

programs for array-based dataloggers or users who have existing array-based

datalogger programs that need to be changed to table-based programs.

PakBus versions of the CR10X family of dataloggers generally

use the same programming instructions as TD table-based

dataloggers.

C.2.1 Steps for Program Conversion

If you are converting a program for the same series of datalogger (e.g., a

CR10X program to a CR10X-TD program) you can edit the existing program

in Edlog. If you are converting a program from one datalogger series to

another (e.g., CR10X to CR23X-TD), you may need to start the program from

scratch.

To convert a program for the same series of datalogger:

1. Open the CSI file in Edlog.
2. The first line of the file will read

;{CR10X}

Change this line to

;{CR10X-TD}

3.

Review all of the instructions provided in the section below. If any of

these are included in your program, format them as a comment or delete

them from the program.

4. Save the file to a new file name, but

do not compile the file when

prompted.

5. Open the newly created file in Edlog. It will be opened using the CR10X-

TD datalogger template instead of the CR10X. Make any changes

necessary to replace the commented or deleted instructions.

NOTE

C-3

Advertising