
B-1
Appendix B. Example Program
The following program will work, as written, on a CR1000, CR800-series, or
CR6-series datalogger. One CS635 TDR probe is connected to channel 1 on an
SDM8X50 multiplexer. The CS635 has a 2 m cable and a 3 m window.
CRBasic Example B-1. TDR200 Program Using One CS635 Connected to the SDM8X50
'Sample TDR200 program on CR6 datalogger
'Example written for 1 CS635 sensor connected to Channel 1 on an SDM8X50 multiplexer
'CS635 has 2 meter cable and a 3 meter window
Public
CS635_LaL
Public
CS635_VWC
Public
CS635_WaveFormValues (1013)
'Topp Equation Dielectric Constants
const
a0= -0.053
const
a1= 0.0292
const
a2= -0.00055
Const
a3= 0.0000043
DataTable
(TDR_VWC,1,-1)
Sample
(1,CS635_LaL,IEEE4)
Sample
(1,CS635_VWC,IEEE4)
EndTable
DataTable
(TDR_Waveform,1,-1)
Sample
(1013,CS635_WaveFormValues(),IEEE4)
EndTable
BeginProg
Scan
(1,Min,0,0)
TDR200
(CS635_LaL,0,0,1001,4,1.0,1000,2,3,0.3,0.085,1.0,0,60,2,2)
CS635_VWC = a0 + a1*(CS635_LaL^2) + a2*(CS635_LaL^2)^2 + a3*(CS635_LaL^2)^3
TDR200
(CS635_WaveFormValues(),0,1,1001,4,1.0,1000,2,3,0.3,0.085,1.0,0,60,2,2)
CallTable
TDR_VWC
CallTable
TDR_Waveform
NextScan
EndProg
Содержание TDR200
Страница 2: ......
Страница 3: ......
Страница 7: ......
Страница 11: ...Table of Contents iv ...
Страница 37: ...Appendix A SDMX50 Series Multiplexers A 4 FIGURE A 2 Location of address jumpers on SDMX50 ...
Страница 39: ......
Страница 45: ...Appendix C Calibration Wizard Tutorial C 6 ...
Страница 52: ......