Datalogger program creation with crbasic editor -1 – Campbell Scientific PC400 Datalogger Support Software User Manual
Page 9

Table of Contents
Serial Port Settings ............................................... 8-24
Settings ...................................................................... 8-24
8.4.6.1 Network........................................................................ 8-24
8.4.6.2 Beacon
Intervals........................................................... 8-25
9. Datalogger Program Creation with CRBasic
Editor ......................................................................9-1
9.1 Overview.......................................................................................... 9-1
9.2 Inserting
Instructions........................................................................ 9-2
Dialog Box............................................................... 9-2
Functionality ......................................................... 9-4
9.3.1 Compile..................................................................................... 9-7
9.3.2 Compile, Save, and Send .......................................................... 9-8
9.3.3 Conditional
Compile and Save................................................ 9-11
9.3.4 Templates................................................................................ 9-11
9.3.5 Program
using BookMarks and GoTo.................. 9-12
File Menu...................................................... 9-12
Edit Menu...................................................... 9-13
Options ............................................................... 9-13
View Menu.................................................... 9-13
Preferences ........................................................ 9-13
Preferences ....................................... 9-15
Options ............................................................... 9-15
Tools Menu ................................................... 9-16
Instruction Categories........................................... 9-16
Customization ............................................... 9-17
Options ............................................................... 9-19
9.3.10 Available Help Information .................................................... 9-20
Programming................................................................... 9-20
Sequence .......................................................... 9-20
Declarations.............................................................. 9-21
Expressions ...................................................... 9-22
9.4.4 Measurement and Output Processing Instructions .................. 9-22
9.4.5 Line
Continuation ................................................................... 9-23
9.4.6 Inserting Comments Into Program .......................................... 9-23
9.4.7 Example
Program.................................................................... 9-24
Tables ............................................................................. 9-24
9.4.9 The Scan — Measurement Timing and Processing ................ 9-26
9.4.10 Numerical Entries ................................................................... 9-27
9.4.11 Logical Expression Evaluation ............................................... 9-27
9.4.11.1 What is True? ............................................................... 9-27
9.4.11.2 Expression Evaluation.................................................. 9-28
9.4.11.3 Numeric Results of Expression Evaluation .................. 9-28
9.4.13.1 Expressions in Parameters............................................ 9-29
9.4.13.2 Arrays of Multipliers and Offsets for Sensor
Calibration ................................................................ 9-30
9.4.14 Program Access to Data Tables .............................................. 9-30
v