Section 7. Creating and Editing Datalogger Programs
7.3.3.9.2 Constant Customization
The Constant Customization feature allows you to define values for one or
more constants in a program prior to performing a conditional compile
(
Compile | Conditional Compile and Save
menu item). The constants can be
set up with an edit box, a spin box field for selecting/entering a value, or with a
list box. A step increase/decrease can be defined for the spin box, as well as
maximum and minimum values.
To set up Constant Customization, place the cursor on a blank line within the
CRBasic Editor and choose
Tools | Set Up Constant Customization Section
.
This will insert two comments into the program:
'Start of Constants Customization Section
'End of Constants Customization Section
Within these two comments, define the constants. Following each constant, use
the keywords noted below formatted as a comment, to set up edit boxes, spin
boxes, or list boxes for the constant values. The fields are edit boxes by default.
If a maximum/minimum are defined for a constant, the field will be a spin box.
If a discrete list is defined for the constant, the field will be a list box.
Constant
Name
=(value)
Sets a default value for a constant
Min=(value)
Sets a minimum value for a spin box control
Max=(value)
Sets a maximum value for a spin box control
Inc=(value)
The number of steps for a value each time the up
or down control on the spin box is selected
Value=(value)
Defines a pick list value
7-37
Содержание LoggerNet
Страница 2: ......
Страница 30: ...Preface What s New in LoggerNet 4 xxvi...
Страница 32: ...Section 1 System Requirements 1 2...
Страница 44: ...Section 2 Installation Operation and Backup Procedures 2 12...
Страница 136: ...Section 4 Setting up Datalogger Networks 4 80...
Страница 227: ...Section 7 Creating and Editing Datalogger Programs 7 9...
Страница 298: ...Section 7 Creating and Editing Datalogger Programs 7 80...
Страница 402: ...Section 9 Automating Tasks with Task Master 9 12...
Страница 406: ...Section 9 Automating Tasks with Task Master 9 16...
Страница 450: ...Section 11 Utilities Installed with LoggerNet Admin and LoggerNet Remote 11 22...
Страница 454: ...Section 12 Optional Client Applications Available for LoggerNet 12 4...
Страница 462: ...Section 13 Implementing Advanced Communications Links 13 8...
Страница 482: ...Section 14 Troubleshooting Guide 14 20...
Страница 570: ...Appendix F Calibration and Zeroing F 16...
Страница 578: ...Appendix G Importing Files into Excel G 8...
Страница 579: ......