Section 7.  Installation 
 
 
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