3 other options, 3 other, Options -19 – Campbell Scientific PC400 Datalogger Support Software User Manual

Page 181

Advertising
background image

Section 9. Datalogger Program Creation with CRBasic Editor

The constant SInterval is defined with a default value of 10, a maximum of 60
and a minimum of 5, with a step of 5 each time the up or down control is
selected.

The constant SUnits has a list box with sec and min; sec is the default.

The constant Reps is defined with a default value of 1. It is an edit box, into
which any value can be entered.

The constant Number is defined with a default value of 0, a minimum of -100
and a maximum of 100. The value will increase by 1 each time the up or down
control is selected.

The constant TableName is defined with a list box of “OneSec”, “OneMin”,
“OneHour”, and “OneDay”; the default value is “OneSec”.

Before compiling the program, open the Customize Constants dialog box,
select the constant values you want to compile into the program, and then
perform the Conditional Compile and Save.

9.3.9.3 Other Options

Associate Files – This option is used to set up file associations within the
Windows operating system, so that if a program file is double-clicked while in
Windows Explorer, that file with be opened in the CRBasic Editor.

Check one or more boxes for file extension(s) you want to associate and press
the Associate Files button.

Show Keyboard Shortcuts – This option displays a list of the functions of the
CRBasic Editor which are accessible via the keyboard. The list can be copied
to the clipboard for printing or other uses.

Show Tables – This option displays details about the output tables and the
items they store as they are defined in the current CRBasic program. The list
can be copied to the clipboard for printing or other uses.

Insert Symbol – Opens a dialog box that lets you insert Unicode symbols into
your CRBasic program for use in strings and units declarations.

Set DLD Extension – This option selects which datalogger’s pre-compiler will
be used when performing a pre-compile check on a DLD program which uses
conditional compile statements. A CRBasic program must be named with the
DLD extension for this item to be active.

Open Display Settings File – Opens a previously saved display setting file.

Save Display Settings File – The look and feel of the CRBasic Editor can be
changed from the default. The Font and Background can be changed, as well
as the syntax highlighting. These changes can be saved to a file (with an ini
extension) using the Save Display Settings File menu item. The file can be
reloaded on the same or different computer running CRBasic using the Open
Display Settings File.

9-19

Advertising