![Campbell OBS-3+ Instruction Manual Download Page 45](http://html1.mh-extra.com/html/campbell/obs-3/obs-3_instruction-manual_3762321045.webp)
Appendix B. Example Programs
For i = 1 To n
'n=10 in this case so ten measurements will be made for both the high and low
'input ranges. A multiplier of 0.001 is used because the coefficients are
'from the voltage calibration sheet
VoltSe (NTUarray(i),1,2,0.001,0)
NTUarray(i) = A(2) * NTUarray(i)^2 + B(2) * NTUarray(i) + C(2)
Next i
AvgSpa (NTU,10,NTUarray())
StdDevSpa (NTU_SD,10,NTUarray())
If NTU < 250 Then
For i = 1 To n
VoltSe (NTUarray(i),1,1,0.001,0)
NTUarray(i) = A(1) * NTUarray(i)^2 + B(1) * NTUarray(i) + C(1)
Next i
AvgSpa (NTU,10,NTUarray())
StdDevSpa (NTU_SD,10,NTUarray())
EndIf
SWBatt (0 )
CallTable NTUData
NextScan
EndProg
B.2 Edlog Example
The following example uses the voltage curve of the calibrations certificate
provided in FIGURE 7-3. Since the coefficients of the voltage curve are used,
the multiplier for
Instruction 1 – Volt (SE)
needs to be 0.001.
The calibration values are different for each probe.
;{CR10X}
;OBS-3+ Turbidity Probe
;Blue
1H (SE1)
;White
1L (SE2)
;Green
AG
;Red
SW12V
;Black
G
;Red jumper C8 SW12V CTRL
;This example is for a sensor that has output of 250 NTU
;on the low range and 1000 NTU on the high range.
;The calibration is in units of VOLTS. If your calibration
;certificate is in mV then the "Mult" in the Volt SE instructions
;should be 1.
;
;***********************************************************
*Table 1 Program
01: 5
Execution Interval (seconds) ;5-second execution
NOTE
B-3
Summary of Contents for OBS-3+
Page 2: ......
Page 6: ......
Page 10: ...Table of Contents iv...
Page 48: ...Appendix B Example Programs B 6...
Page 52: ...Appendix D Datalogger Connection to a Relay D 2...
Page 53: ......