2 right-click functionality, 2 right-click, Functionality -4 – Campbell Scientific PC400 Datalogger Support Software User Manual

Page 166

Advertising
background image

Section 9. Datalogger Program Creation with CRBasic Editor

Pressing F9 at any time will also bring up a list of variables. However, when a
variable is chosen from the list brought up by F9, it will simply be inserted at
the cursor without overwriting anything.

Right-clicking or pressing F2 on a parameter that has a finite number of valid
entries will bring up a list of those available options.

Right-clicking or pressing F2 on a parameter that does not fall within the two
categories above will bring up help for that parameter.

Pressing F1 with any parameter selected will bring up help for that parameter
along with a list of possible options where appropriate.

Changing Default Parameters Values for an Instruction

Each instruction offers default values for each parameter. For instance, in the
Parameter box above, the default for the Range is mV5000. If you wanted to
edit this so that each time you inserted the VoltDiff instruction the Range value
defaulted to mV1000, you would highlight the instruction in the Instruction
Panel, select Instruction | Edit Instruction Defaults from the menu, and
make the change in the resulting dialog box.

9.2.2 Right-Click Functionality

The result of a right-click action varies, depending upon your cursor location.

Right-click an instruction name to show the Parameter dialog box to edit the
instruction parameters.

Right-click a parameter that uses a variable as an input type to bring up a list of
variables that have been defined in the program as described in the previous
section.

Right-click a parameter that has a finite number of valid entries to bring up a
list of those available options. You can change the option by clicking the
desired option.

Right-click another type of parameter to bring up help for that parameter.

Right-click a block of text that is highlighted to bring up a short cut menu with
the following options:

Comment/Uncomment Block: Only one of these options will be

available, depending upon the status of the highlighted text. If the text has
been marked as a comment, you can choose to uncomment it. If the text is
not commented, you can chose to make it into a comment. Commented
text has a single quote ( ' ) at the beginning of the line. Comments are
ignored by the datalogger’s compiler.

Decrease/Increase Indent: You can increase or decrease the indention of

the selected text. The spacing is increased or decreased by one.

Cut/Copy/Paste/Delete: Standard editing functions can be accessed

through this menu.

9-4

Advertising