Campbell-scientific CSIM11 pH and ORP Sensors Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 34
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
Appendix B. Example Programs
B.1 CRBasic Program
The following CR1000 program measures a CSIM11 and 107 temperature
probe and has the datalogger process the raw data after each measurement
sequence.
'CR1000 Series Datalogger
'declare variables
Public pH, pHMult, TempC
'Define Data Tables
DataTable (pH,1,-1)
DataInterval (0,1,Min,10)
Sample (1,pH,FP2)
Sample (1,TempC,FP2)
EndTable
'Main Program
BeginProg
Scan (60,Sec,0,0)
'measure water temperature
Therm107 (TempC,1,3,Vx1,0,250,1.0,0)
'calculate the Multiplier for Temperature Correction
pHMult = -1/ (((TempC + 273) / 298) * 59)
'measure pH (note this is without the multplier and offset)
VoltDiff (pH,1,mV2500,1,True ,0,_60Hz,1.0,0)
pH=pH*pHMult 'now apply Correction Multiplier to measured pH
pH=pH + 7 '... and the offset -- initially with a value of 7, adjusting as
'necessary during probe calibration
CallTable pH 'output data once per minute
NextScan
EndProg
B-1
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 33 34

Comentarios a estos manuales

Sin comentarios