2 cr10x/cr23x program examples – Campbell Scientific TDR100 Time Domain Reflectometry Systems User Manual

Page 44

Advertising
background image

TDR100

'

MuxChan=3001

TDR100

(WavePT(),0,1,3001,4,1.0,251,9.5,5.0,0.3,0.085,1,0)

CallTable

TDR_Wave()

'

MuxChan=4001

TDR100

(WavePT(),0,1,4001,4,1.0,251,9.5,5.0,0.3,0.085,1,0)

CallTable

TDR_Wave()

'

MuxChan=5001
TDR100

(WavePT(),0,1,5001,4,1.0,251,9.5,5.0,0.3,0.085,1,0)

CallTable

TDR_Wave()

'

MuxChan=6001
TDR100

(WavePT(),0,1,6001,4,1.0,251,9.5,5.0,0.3,0.085,1,0)

CallTable

TDR_Wave()

'

MuxChan=7001
TDR100

(WavePT(),0,1,7001,4,1.0,251,9.5,5.0,0.3,0.085,1,0)

CallTable

TDR_Wave()

'

MuxChan=8001
TDR100

(WavePT(),0,1,8001,4,1.0,251,9.5,5.0,0.3,0.085,1,0)

CallTable

TDR_Wave()

'

Flag(2)=0

'reset state of Flag 2

SW12

(0

)

'Switched 12V Low

endif

'EndIf ********************************

'

PortsConfig

(&B00000111,&B00000000)

'configure SDM ports C1,C2,C3 as inputs

'

NextScan
EndProg

10.2 CR10X/CR23X Program Examples

Example 1, Measure and Record; Analog Measurements and Volumetric

Water Content

A CS605 or CS610 probe is connected directly to the TDR100. A cable length
of 6.25 meters was determined using PCTDR. The L

a

/L value is converted to

volumetric water content using the Ledieu , etal linear calibration function.
The program is executed once a minute. The array id, time, analog
measurements, and volumetric water content are output to Final Storage every
five minutes.

38

Advertising