93
Section 10. CRBASIC Programming
Instructions
Read More!
Parameter listings, application information, and code examples are
available in CRBASIC Editor Help. CRBASIC Editor is part of LoggerNet /
PC400 / RTDAQ.
Select instructions are explained more fully, some with example code, in
Programming Resource Library
(p. 109). Example code is throughout the
CR200(X) manual. Refer to the table of contents Example index.
10.1 Program Declarations
10.1.1 Variable Declarations & Modifiers
Alias
Assigns a second name to a variable.
Syntax
Alias [variable] = [alias name]
Dim
Declares and dimensions private variables. Dimensions are optional.
Syntax
Dim [variable name (x,y,z)]
Public
Declares and dimensions public variables. Dimensions are optional.
Syntax
Public [variable name (x,y,z)]
Units
Assigns a unit name to a field associated with a variable.
Syntax
Units [variable] = [unit name]
10.1.2 Constant Declarations
Const
Declares symbolic constants for use in place of numeric entries.
Syntax
Const [constant name] = [value or expression]
Summary of Contents for CR200
Page 32: ...Section 2 Quickstart Tutorial 22 ...
Page 45: ...Section 3 Overview 35 3 3 Specifications ...
Page 46: ...Section 3 Overview 36 ...
Page 58: ...Section 4 Sensor Support 48 ...
Page 62: ...Section 5 Measurement and Control Peripherals 52 ...
Page 78: ...Section 8 CR200 X Configuration 68 ...
Page 102: ...Section 9 Programming 92 ...
Page 138: ...Section 11 Programming Resource Library 128 ...
Page 156: ...Section 16 Support Software 146 ...
Page 160: ...Section 17 Care and Maintenance 150 ...
Page 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Page 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Page 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Page 170: ...Section 18 Troubleshooting 160 ...
Page 184: ...Appendix A Glossary 14 ...
Page 190: ...Appendix B Status Table and Settings 20 ...
Page 192: ...Appendix C Serial Port Pin Outs 22 ...
Page 211: ......