Program examples, Instructions – Campbell Scientific CR10X Measurement and Control System User Manual
Page 7

CR10X TABLE OF CONTENTS
iii
PROGRAM EXAMPLES
7.
MEASUREMENT PROGRAMMING EXAMPLES
7.1
Single-Ended Voltage/Switched 12 V Terminal - CS500 ........................................................7-1
7.2
Differential Voltage Measurement...........................................................................................7-3
7.3
Thermocouple Temperatures Using the Optional CR10TCR to Measure
the Reference Temperature....................................................................................................7-4
7.4
Thermocouple Temperatures Using an External Reference Junction ....................................7-4
7.5
107 Temperature Probe ..........................................................................................................7-5
7.6
207 Temperature and RH Probe.............................................................................................7-5
7.7
Anemometer with Photochopper Output .................................................................................7-6
7.8
Tipping Bucket Rain Gage with Long Leads ...........................................................................7-7
7.9
100 ohm PRT in 4 Wire Half Bridge........................................................................................7-7
7.10
100 ohm PRT in 3 Wire Half Bridge........................................................................................7-9
7.11
100 ohm PRT in 4 Wire Full Bridge ......................................................................................7-10
7.12
Pressure Transducer - 4 Wire Full Bridge ............................................................................7-11
7.13
Lysimeter - 6 Wire Full Bridge...............................................................................................7-12
7.14
227 Gypsum Soil Moisture Block ..........................................................................................7-14
7.15
Nonlinear Thermistor in Half Bridge (Model 101 Probe) .......................................................7-15
7.16
Water Level - Geokon's Vibrating Wire Pressure Sensor.....................................................7-16
7.17
Paroscientific "T" Series Pressure Transducer .....................................................................7-20
7.18
4 to 20 mA Sensor Using CURS100 Terminal Input Module ................................................7-23
8.
PROCESSING AND PROGRAM CONTROL EXAMPLES
8.1
Computation of Running Average ...........................................................................................8-1
8.2
Rainfall Intensity ......................................................................................................................8-2
8.3
Using Control Ports and Loop to Run AM416 Multiplexer.......................................................8-3
8.4
Sub 1 Minute Output Interval Synched to Real Time ..............................................................8-5
8.5
Switch Closures on Control Ports (Rain Gage).......................................................................8-5
8.6
SDM-AO4 Analog Output Multiplexer to Strip Chart ...............................................................8-6
8.7
Converting 0-360 Wind Direction Output to 0-540 for Strip Chart...........................................8-7
8.8
Use of 2 Final Storage Areas - Saving Data Prior to Event ....................................................8-8
8.9
Logarithmic Sampling Using Loops.........................................................................................8-9
8.10
Covariance Correlation Programming Example....................................................................8-11
8.11
Fast Fourier Transform Examples ........................................................................................8-15
8.12
Using the Switched 12 V to Power Sensors..........................................................................8-22
INSTRUCTIONS
9.
INPUT/OUTPUT INSTRUCTIONS
.....................................................................................9-1
10. PROCESSING INSTRUCTIONS
......................................................................................10-1
11. OUTPUT PROCESSING INSTRUCTIONS
...................................................................11-1
12. PROGRAM CONTROL INSTRUCTIONS
......................................................................12-1