beautypg.com

5 example programs, 1 example cr1000 program, Example programs – Campbell Scientific 223-L Delmhorst Cylindrical Soil Moisture Block User Manual

Page 20: Example cr1000 program, 3. wiring for cr1000 example, N 7.2.5

background image

223 Delmhorst Cylindrical Soil Moisture Block

7.2.5 Example Programs

7.2.5.1 Example CR1000 Program

Below is a CR1000 program that measures five 223 sensors, calculates
resistance, and calculates soil water potential.

FIGURE 7-3. Wiring for CR1000 example

'CR1000


'Declare Variables and Units
Dim LCount

Public BattV
Public PTemp_C
Public kohms(5)

Public WP_kPa(5)

Units BattV=Volts

Units PTemp_C=Deg C
Units kohms=kilohms

Units WP_kPa=kPa

14