Section 7. Installation
250
Note
When only one SDI-12 sensor is attached, that is, multiple sensor
measurements do not need to start concurrently, another reliable method
for making SDI-12 measurements without affecting the main scan is to use
the CRBasic
SlowSequence
instruction and the SDI-12
M!
command.
The main scan will continue to run during the
ttt
time returned by the SDI-
12 sensor. The trick is to synchronize the returned SDI-12 values with
the main scan.
aCv
Start alternate concurrent measurement.
Syntax:
aCv
Using SDI12Sensor() to Test Cv Command
'This program example demonstrates how to use CRBasic to simulate four SDI-12 sensors. This
program can be used to
'produce measurements to test the CRBasic example Using Alternate Concurrent Command (aC)
(p.
251).
Public
Temp(4)
DataTable
(Temp,True,0)
DataInterval
(0,5,Min,10)
Sample
(4,Temp(),FP2)
EndTable
BeginProg
Scan
(5,Sec,0,0)
PanelTemp
(Temp(1),250)
'Measure CR800 wiring panel temperature to use as base for
'simulated temperatures Temp(2), Temp(3), and Temp(4).
Temp(2) = Temp(1) + 5
Temp(3) = Temp(1) + 10
Temp(4) = Temp(1) + 15
CallTable
Temp
NextScan
SlowSequence
Do
'Note SDI12SensorSetup / SDI12SensorResponse must be renewed
'after each successful SDI12Recorder() poll.
SDI12SensorSetup
(1,1,0,95)
Delay
(1,95,Sec)
SDI12SensorResponse
(Temp(1))
Loop
EndSequence
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: ......