Campbell-scientific CR3000 Micrologger Manuel d'utilisateur Page 511

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 590
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 510
Appendix A. CRBasic Programming Instructions
511
Figure Custom Menu Example (p. 70) shows windows from a simple custom menu
named DataView. DataView appears as the main menu on the keyboard display.
DataView has menu item Counter, and submenus PanelTemps, TCTemps and
System Menu. Counter allows selection of one of four values. Each submenu
displays two values from CR3000 memory. PanelTemps shows the CR3000
wiring-panel temperature at each scan, and the one-minute sample of panel
temperature. TCTemps displays two thermocouple temperatures.
.
Custom menus are constructed with the following syntax before the BeginProg
instruction.
DisplayMenu("MenuName", AddToSystem)
MenuItem("MenuItemName", Variable)
MenuPick(Item1, Item2, Item3...)
DisplayValue("MenuItemName", tablename.fieldname)
SubMenu(MenuName)
MenuItem("MenuItemName", Variable)
EndSubMenu
EndMenu
BeginProg
[program body]
EndProg
DisplayMenu/EndMenu
Marksthebeginningandendingofacustommenu.
Syntax:
DisplayMenu("MenuName", AddToSystem)
[menu definition]
EndMenu
MenuItem
Definesthenameandassociatedmeasurementvalueforaniteminacustom
menu.
Syntax:
MenuItem("MenuItemName", Variable)
DisplayLine
Displaysafulllineofreadonlytextinacustommenu.
Syntax:
DisplayLine(Value)
MenuPick
CreatesalistofselectableoptionsthatcanbeusedwheneditingaMenuItem
value.
Syntax:
MenuPick(Item1, Item2, Item3...)
DisplayValue
Definesthenameandassociateddatatablevalueorvariableforanitemina
custommenu.
Syntax:
DisplayValue("MenuItemName", Expression)
Vue de la page 510
1 2 ... 506 507 508 509 510 511 512 513 514 515 516 ... 589 590

Commentaires sur ces manuels

Pas de commentaire