beautypg.com

Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 145

background image

Section 5. Real-Time Tools

Different datalogger models have a different number of ports and flags. The

Ports and Flags dialog box will display only those ports and flags available for

the datalogger type. Behaviors for each datalogger type are shown below.

Mixed array dataloggers have a fixed number of ports and user flags that

are available. The ports and flags dialog box will display only the ports

and flags supported by the datalogger; no additional values can be added.

The

Defaults button will reset any user-defined labels that have been

typed in.

CR1000, CR3000, CR800, CR5000, and CR9000X dataloggers do not

have predefined flags. The first time a program is sent to a datalogger,

LoggerNet will look for a Public array with the name of Flag in the

program. If a Flag array is found, the declared flags will be added to the

Ports and Flags dialog box. The number of flags that will be added is

limited by the number of cells available on the Ports and Flags display.

CR800, CR1000, and CR3000 dataloggers have ports that can be toggled

from this display; they will be displayed in the first column and the

remaining cells will be available to display flags and other Boolean values

in the program. The CR5000’s and CR9000X’s ports cannot be controlled

from this display, so all cells will be available for Flags and Boolean

values. For these five dataloggers, pressing

Defaults will reset all labels

to their original names, update the number of flags based on the currently

running program, and remove any Boolean values placed on the screen.

CR9000 and CR200 dataloggers do not have ports that can be toggled

from this display. They also do not have predefined flags or support the

declaration of variables as Boolean. The Ports and Flags dialog will

display one to three columns, depending upon the number of flags defined

in the program. Pressing

Defaults will reset all labels to their original

names and update the number of flags based on the currently running

program.

A Boolean variable is a variable that can have one of two states:

high/low, off/on, –1/0, true/false. Variables for CRBasic

dataloggers can be declared as Boolean with the Public or Dim

statement.

NOTE

5-9