beautypg.com

6 custom menus – Campbell Scientific CR3000 Micrologger User Manual

Page 198

background image

Section 7. Installation

198 

 

 

and

have never been greater than a few degrees.

The final form is arrived at by converting from radians to degrees (57.296
degrees/radian).

7.8.6 Custom Menus

Read More! More information concerning use of the keyboard is found in
sections Using the Keyboard Display

(p. 404)

and Custom Keyboard and Display

Menus

(p. 510).

Menus for the integrated keyboard / display can be customized to simplify routine
operations. Viewing data, toggling control functions, or entering notes are
common applications. Individual menu screens support up to eight lines of text
with up to seven variables.

Use the following CRBasic instructions. Refer to CRBasic Editor Help for
complete information.

DisplayMenu()

Marks the beginning and end of a custom menu. Only one allowed per 
program. 

Note Label must be at least 6 characters long to mask default display clock.

EndMenu

Marks the end of a custom menu. Only one allowed per program. 

DisplayValue()

Defines a label and displays a value (variable or data table value) not to 
be edited, such as a measurement. 

MenuItem()

Defines a label and displays a variable to be edited by typing or from a 
pick list defined by MenuPick (). 

MenuPick()

Creates a pick list from which to edit a MenuItem() variable. Follows 
immediately after MenuItem(). If variable is declared As Boolean
MenuPick() allows only True or False or declared equivalents. 
Otherwise, many items are allowed in the pick list. Order of items in list 
is determined by order of instruction; however, item displayed initially 
in MenuItem() is determined by the value of the item.