Campbell Scientific TDR100 Time Domain Reflectometry Systems User Manual

Page 51

Advertising
background image

TDR100

4: Beginning of Loop (P87)
1: 0

Delay

2: 8

Loop

Count


;Square La/L to convert to dielectric constant:
;Note: The user must manually allocate 8 input locations "WC_1" through WC_8".

5: Z=X*Y (P36)

1: 1

-- X Loc [ LaL_1 ]

2: 1

-- Y Loc [ LaL_1 ]

3: 11

-- Z Loc [ WC_1 ]

;Multiply the dielectric constant by 0.1 to prepare for the 3rd order polynomial

;with the appropriately scaled coefficients for Topp's calibration:

6: Z=X*F (P37)

1: 11

-- X Loc [ WC_1 ]

2: 0.1

F

3: 11

-- Z Loc [ WC_1 ]

;Apply Topp's 3rd order polynomial:

7: Polynomial (P55)

1: 1

Reps

2: 11

-- X Loc [ WC_1 ]

3: 11

-- F(X) Loc [ WC_1 ]

4: -0.053 C0

5: .292

C1

6: -0.055 C2

7: 0.0043 C3

8: 0.0

C4

9: 0.0

C5

8: End (P95) ; End of the Loop.

;Measure the datalogger power supply voltage:

9: Batt Voltage (P10)

1: 19

Loc [ Bat_Volt ]

;Set the Output Flag to output data each time measurements are made:

10: Do (P86)

1: 10

Set Output Flag High (Flag 0)

;Output a time stamp; year, day, and hour/minute:

11: Real Time (P77)

1: 1220

Year,Day,Hour/Minute (midnight = 2400)

;Output the 8 water content measurements and battery voltage:

12: Sample (P70)

1: 9

Reps

2: 11

Loc [ WC_1 ]

45

Advertising