Appendix a. crbasic programming instructions – Campbell Scientific CR1000 Measurement and Control System User Manual
Page 16

Table of Contents
16
Section 10. Troubleshooting........................................423
10.1 Status Table......................................................................................... 423
10.2 Operating Systems............................................................................... 423
10.3 Programming....................................................................................... 423
10.3.1 Status Table as Debug Resource................................................ 423
10.3.1.1 CompileResults ................................................................ 424
10.3.1.2 SkippedScan..................................................................... 425
10.3.1.3 SkippedSlowScan............................................................. 425
10.3.1.4 SkippedRecord ................................................................. 425
10.3.1.5 ProgErrors ........................................................................ 426
10.3.1.6 MemoryFree..................................................................... 426
10.3.1.7 VarOutOfBounds ............................................................. 426
10.3.1.8 WatchdogErrors ............................................................... 426
10.3.1.8.1 Status Table WatchdogErrors ................................. 426
10.3.1.8.2 Watchdoginfo.txt File............................................. 427
10.3.2 Program Does Not Compile....................................................... 427
10.3.3 Program Compiles / Does Not Run Correctly ........................... 427
10.3.4 NAN and ±INF .......................................................................... 428
10.3.4.1 Measurements and NAN .................................................. 428
10.3.4.1.1 Voltage Measurements ........................................... 428
10.3.4.1.2 SDI-12 Measurements ............................................ 428
10.3.4.2 Floating-Point Math, NAN, and ±INF ............................. 429
10.3.4.3 Data Types, NAN, and ±INF ........................................... 429
10.3.4.4 Output Processing and NAN ............................................ 430
10.4 Communications.................................................................................. 431
10.4.1 RS-232....................................................................................... 431
10.4.2 Communicating with Multiple PCs ........................................... 432
10.4.3 Comms Memory Errors ............................................................. 432
10.4.3.1 CommsMemFree(1) ......................................................... 432
10.4.3.2 CommsMemFree(2) ......................................................... 433
10.4.3.3 CommsMemFree(3) ......................................................... 434
10.5 Power Supplies.................................................................................... 435
10.5.1 Overview ................................................................................... 435
10.5.2 Troubleshooting Power at a Glance........................................... 435
10.5.3 Diagnosis and Fix Procedures.................................................... 436
10.5.3.1 Battery Test ...................................................................... 436
10.5.3.2 Charging Regulator with Solar-Panel Test....................... 437
10.5.3.3 Charging Regulator with Transformer Test ..................... 439
10.5.3.4 Adjusting Charging Voltage............................................. 440
10.6 Terminal Emulator .............................................................................. 442
10.6.1 Serial Talk Through and Sniffer ................................................ 445
Section 11. Glossary.....................................................447
11.1 Terms .................................................................................................. 447
11.2 Concepts.............................................................................................. 471
11.2.1 Accuracy, Precision, and Resolution ......................................... 471
Appendix A. CRBasic Programming Instructions .....473
A.1 Program Declarations ........................................................................... 473
A.1.1 Variable Declarations & Modifiers............................................. 474
A.1.2 Constant Declarations ................................................................. 475
A.2 Data-Table Declarations....................................................................... 475
A.2.1 Data-Table Modifiers.................................................................. 475