beautypg.com

Campbell Scientific EnviroSCAN Sentek Water Content Profile Probe User Manual

Page 12

background image

EnviroSMART

TM

Soil Water Content Profile Probes

Else

‘...OR...

If

ES1_SF(X)

<

-999

Then

‘If a WC sensor fails (indicated by

‘-1000)

ES1_WC(X)

=

-99999

‘Load NAN for water content

Else

‘...OR...

ES1_WC(X) = ((ES1_SF(X) - c)/a)^(1/b) ‘apply calibration

EndIf

EndIf

Next

X


‘Measure

rain

PulseCount

(Rain_mm,1,2,2,0,.01,0)


‘Input irrigation events manually in Irrimax, 0 must be written to data file

Irrig_mm

=

0


‘Output Data to Storage

CallTable

ES1_SF ‘Store Scaled Frequency and VIC Data with Rain and Irrigation

‘for Irrimax Software

CallTable

ES1_WC

‘Store Water Content Data


‘Next

Scan

Next

Scan


‘End Program
EndProg

Sample CR10X Program

Shaded portions of program can be omitted if TriSCAN sensor options are not
used.

;CR10X Datalogger
;Program Author: Campbell Scientific, Inc.
;Date: 04-12-06

;Description:

Program measures 1 EnviroSMART / TriSCAN probe with 8 sensors or 1 EasyAG

;

TriSCAN probe with 4 sensors. -1000 is loaded as the "measurement" for

;

non-existant sensors. Program measures scaled frequencies, calculates

;

water contents, and stores scaled frequencies, water contents, and

;

volumetric ion contents separately. Scaled frequencies are stored with an

;

"array identifier" leading 8 data values per record followed by 8 VIC per

;

record, with the record ending with zero rain and irrigation values for

;

compatibility with DBLOAD & Irrimax software.


;Assumptions:

EnviroSMART or EasyAG probe SDI-12 interface is configured to output

;

scaled frequencies

8