Campbell-scientific CR3000 Micrologger Manual de usuario Pagina 188

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 590
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 187
Section 7. Installation
188
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
SlowSequence
Do
SDI12SensorSetup(1,3,1,95)
Delay(1,95,Sec)
SDI12SensorResponse(Temp(2))
Loop
EndSequence
SlowSequence
Do
SDI12SensorSetup(1,5,2,95)
Delay(1,95,Sec)
SDI12SensorResponse(Temp(3))
Loop
EndSequence
SlowSequence
Do
SDI12SensorSetup(1,7,3,95)
Delay(1,95,Sec)
SDI12SensorResponse(Temp(4))
Loop
EndSequence
EndProg
SDI-12 Extended Command Support
SDI12Recorder() sends any string enclosed in quotation marks in the Command
parameter. If the command string is a non-standard SDI-12 command, any
response is captured into the variable assigned to the Destination parameter, so
long as that variable is declared As String. CRBasic example Use of an SDI-12
Extended Command
(p. 189) shows appropriate code for sending an extended SDI-
12 command and receiving the response. The extended command feature has no
built-in provision for responding with follow-up commands. However, the
program can be coded to parse the response and issue subsequent SDI-12
commands based on a programmer customized evaluation of the response. For
more information on parsing strings, see Input Programming Basics
(p. 211).
Vista de pagina 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 589 590

Comentarios a estos manuales

Sin comentarios