beautypg.com

5 new sensor files, 6 custom sensor files, 3 crbasic editor – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 239: 1 overview, New sensor files -21, Custom sensor files -21, Crbasic editor -21, Overview -21

background image

Section 7. Creating and Editing Datalogger Programs

7.2.5 New Sensor Files

Short Cut was designed with future flexibility in mind. Datalogger and sensor

support is provided as individual files and not part of the SCWIN executable.

As new dataloggers and sensors become available, new definition files will be

created to add and modify the necessary features known to Short Cut. To

update these files, you can download the latest version of Short Cut from the

Campbell Scientific website:

www.campbellsci.com/downloads

It is also possible to have custom sensor files created for sensors your

organization uses that are not included with Short Cut. Contact your Campbell

Scientific applications engineer for details.

7.2.6 Custom Sensor Files

The creation of custom sensor files can be enabled from Short Cut’s Tools |

Options menu item. Once enabled, custom sensor files can be created by right-

clicking on a sensor in the Available Sensors and Devices list and choosing

Create Custom Sensor.

The resulting dialog box will allow the user to make changes to the chosen

sensor file and then save it with a new name. (See Short Cut’s Online Help for

additional information on changes that can be made.) By default, custom

sensor files will be created in C:\CampbellSci\SCWin\SENSORS, which is a

different location than that of Short Cut’s included sensor files.

Once the custom sensor file has been saved, it will be added to the Available

Sensors list.

7.3 CRBasic Editor

7.3.1 Overview

The

CRBasic Editor is a programming tool which can be used with the

CR1000, CR3000, CR200 Series, CR800 Series, CR5000, CR9000 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 Short Cut. This programming

language is similar in syntax, program flow, and logic to the Structured BASIC

programming language.

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.

7-21