2 ports and flags – Campbell Scientific RTDAQ Software User Manual

Page 160

Advertising
background image

Section 7. Monitoring Data in Real-time

You can open or select from multiple instances of these real-time screens by
selecting the screen type from a drop-down list below the button. You can
bring an open screen to the front or restore/maximize it by clicking the button
again.

For more information about each specialized data monitoring screen, see
information given in later sections of this chapter.

7.2 Ports and Flags

When the Ports & Flags button is selected, a window appears for monitoring
datalogger ports, program flags, and their current states for the currently
connected datalogger.

The state of a port or flag can be changed by clicking the LED button to the left
of the field label. A black (unlighted) LED indicates that the port or flag is low
(false); green (lighted) indicates that it is high (true). A grey color indicates
that the window is communicating with the datalogger to assess the state or set
the state of the variable (i.e., busy). Custom labels can be assigned to the ports
and flags by double-clicking within the label field and entering new text for the
label.

The dataloggers used with RTDAQ do not have predefined flags. The first
time a program is sent to the datalogger, RTDAQ will look for a Public array
or variable declaration with the name Flag in the CRBasic program. If a Flag
declaration is found, the declared flags will be added to the Ports & Flags
dialog box. The number of flags that will be added is limited by the number of
cells available on the Ports & Flags display. CR800, CR1000, and CR3000
dataloggers have control ports whose values can be toggled from this display;
those ports will be displayed in the first column and the remaining cells will be
available to display flags and other boolean values in the program.

Program variables that are declared with a boolean data type can also be placed
on this display. An Add button is available which, when pressed, lists all of
the tables in the datalogger. When a table is highlighted on the left side of the

7-8

Advertising