Campbell Scientific RTDAQ Software User Manual

Page 7

Advertising
background image

RTDAQ Table of Contents

5.1.4 CRBasic Programming ............................................................. 5-20

5.1.4.1 Programming Sequence................................................... 5-20
5.1.4.2 Program Declarations...................................................... 5-21
5.1.4.3 Mathematical Expressions............................................... 5-21
5.1.4.4 Measurement and Output Processing Instructions .......... 5-22
5.1.4.5 Line Continuation............................................................ 5-22
5.1.4.6 Inserting Comments Into Program .................................. 5-23
5.1.4.7 Example Program............................................................ 5-24
5.1.4.8 Data Tables...................................................................... 5-24
5.1.4.9 The Scan -- Measurement Timing and Processing.......... 5-26
5.1.4.10 Numerical Entries.......................................................... 5-27
5.1.4.11 Logical Expression Evaluation...................................... 5-27
5.1.4.12 Flags .............................................................................. 5-29
5.1.4.13 Parameter Types............................................................ 5-29
5.1.4.14 Program Access to Data Tables..................................... 5-30

5.2 Short Cut............................................................................................. 5-31

5.2.1 Overview................................................................................... 5-31
5.2.2 Creating a Program Using Short Cut ........................................ 5-32

5.2.2.1 Step 1 – Create a New File or Open Existing File .......... 5-33
5.2.2.2 Step 2 – Select Datalogger and Specify Scan Interval .... 5-33
5.2.2.3 Step 3 – Choose Sensors to Monitor ............................... 5-36
5.2.2.4 Step 4 – Setup Output Tables.......................................... 5-43
5.2.2.5 Step 5 – Generate the Program in the Format Required

by the Datalogger .................................................................. 5-46

5.2.3 Short Cut Settings ..................................................................... 5-47

5.2.3.1 Program Security............................................................. 5-47
5.2.3.2 Datalogger ID.................................................................. 5-47
5.2.3.3 Power-up Settings ........................................................... 5-47
5.2.3.4 Select CR200 Compiler................................................... 5-48
5.2.3.5 Sensor Support ................................................................ 5-48
5.2.3.6 Integration ....................................................................... 5-49
5.2.3.7 Font ................................................................................. 5-49
5.2.3.8 Set Working Directory .................................................... 5-49
5.2.3.9 Enable Creation of Custom Sensor Files......................... 5-49

5.2.4 Editing Programs Created by Short Cut.................................... 5-49
5.2.5 New Sensor Files ...................................................................... 5-50
5.2.6 Custom Sensor Files ................................................................. 5-50

5.3 Program Creation with the RTDAQ Program Generator ................... 5-50

5.3.1 Basic Operation......................................................................... 5-50
5.3.2 Program Startup ........................................................................ 5-51
5.3.3 Using the CR5000 or CR9000X Program Generator................ 5-52
5.3.4 Supporting Functionality .......................................................... 5-53

5.3.4.1 File | New ........................................................................ 5-53
5.3.4.2 File | Open… ................................................................... 5-53
5.3.4.3 File | Save As................................................................... 5-54
5.3.4.4 File | Edit Generator Program.......................................... 5-54
5.3.4.5 File | Open Wire Diagram ............................................... 5-54
5.3.4.6 File | <Previously opened programs>.............................. 5-55
5.3.4.7 File | Exit ......................................................................... 5-55
5.3.4.8 Edit | Color Options......................................................... 5-55
5.3.4.9 Edit | CR9000X Generator Options, Edit | CR5000

Generator Options ................................................................. 5-56

5.3.4.10 Help | Program Generator.............................................. 5-56
5.3.4.11 Help | About .................................................................. 5-56

iii

Advertising