Section 5. program creation and editing, 1 crbasic editor, 1 overview – Campbell Scientific RTDAQ Software User Manual

Page 61

Advertising
background image

Section 5. Program Creation and
Editing

The CRBasic Editor is a programming tool which can be used with the
CR1000, CR3000, CR800, CR850, CR5000, and CR9000X dataloggers. It is
intended for use by experienced datalogger programmers who need more
flexibility and control over the datalogger operation than what can be achieved
using program generators such as SCWIN or the CR5000/CR9000X
Program Generator
(ProgGen). This programming language is similar in
syntax, program flow, and logic to the Structured BASIC programming
language.

SCWIN and the CR5000/CR9000X Program Generator are also discussed
in this chapter.

5.1 CRBasic Editor

5.1.1 Overview

Although RTDAQ does not support the CR200 Series or
CR9000 dataloggers, the CRBasic application included with
RTDAQ is the same one included for use with LoggerNet and
other Campbell Scientific support software. Because of this, the
documentation included here contains references to these
dataloggers. For most RTDAQ implementations, these
references can be ignored.

NOTE

As shown below, the CRBasic Editor's main window is divided into three
parts: the Program Entry Window, the Instruction Panel, and the Message
area. The Instruction Panel on the right side is a list that comprises the
instructions for a particular datalogger in the CRBasic language. Instructions
can be selected from this list or entered directly into the Program Entry
Window on the left. The Message area at the bottom becomes visible after a
program is compiled and shows results of the compile and any errors detected.

5-1

Advertising