Section 7. Installation
252
'Begin measurement sequence
If
RunSDI12 = True
Then
For
X = 1
To
4
Temp_Tmp(X) = 2e9
'when 2e9 changes, indicates a change
Next
X
'Measure SDI-12 sensors
SDI12Recorder
(Temp_Tmp(1),1,0,cmd(1),1.0,0)
SDI12Recorder
(Temp_Tmp(2),1,1,cmd(2),1.0,0)
SDI12Recorder
(Temp_Tmp(3),1,2,cmd(3),1.0,0)
SDI12Recorder
(Temp_Tmp(4),1,3,cmd(4),1.0,0)
'Control Measurement Event
For
X = 1
To
4
If
cmd(X) = "C!"
Then
Retry(X) = Retry(X) + 1
If
Retry(X) > 2
Then
IndDone(X) = -1
'Test to see if ttt expired. If ttt not expired, load "1e9" into first variable
'then move to next instruction. If ttt expired, issue aDv! command(s).
If
((Temp_Tmp(X) = 2e9)
OR
(Temp_Tmp(X) = 1e9))
Then
cmd(X) = "C"
'Start sending "C" command.
ElseIf
(Temp_Tmp(X) = NAN) Then
'Comms failed or sensor not attached
cmd(X) = "C!"
'Start measurement over
Else
'C!/C command sequence complete
Move
(Temp_Meas(X),1,Temp_Tmp(X),1)
'Copy measurements to SDI_Val(10)
cmd(X) = "C!"
'Start next measurement with "C!"
IndDone(X) = -1
EndIf
Next
X
'Summarize Measurement Event Success
For
X = 1
To
4
GroupDone = Gro IndDone(X)
Next
X
'Stop current measurement event, reset controls
If
GroupDone = -4
Then
RunSDI12 = False
GroupDone = 0
For
X = 1
To
4
IndDone(X) = 0
Retry(X) = 0
Next
X
Else
GroupDone = 0
EndIf
EndIf
'End of measurement sequence
NextScan
EndProg
Summary of Contents for CR800 Series
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 34: ......
Page 54: ......
Page 92: ......
Page 310: ......
Page 446: ...Section 8 Operation 446 8 11 2 Data Display FIGURE 100 CR1000KD Displaying Data ...
Page 448: ...Section 8 Operation 448 FIGURE 102 CR1000KD Real Time Custom ...
Page 449: ...Section 8 Operation 449 8 11 2 3 Final Storage Data FIGURE 103 CR1000KD Final Storage Data ...
Page 450: ...Section 8 Operation 450 8 11 3 Run Stop Program FIGURE 104 CR1000KD Run Stop Program ...
Page 452: ...Section 8 Operation 452 FIGURE 106 CR1000KD File Edit ...
Page 456: ......
Page 462: ......
Page 523: ...Section 11 Glossary 523 FIGURE 116 Relationships of Accuracy Precision and Resolution ...
Page 524: ......
Page 526: ......
Page 556: ......
Page 558: ......
Page 560: ......
Page 597: ......