Campbell-scientific CS110 Electric Field Meter Manual do Utilizador Página 32

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 88
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 31
CS110 Electric Field Meter
Scan(1,sec,0,0)
for k = 1 to 16 'Initialize status array.
E_status(k) = 0
next
PanelTemp (panel_temp,250)
Battery (battery_volt)
VoltDiff (internal_RH,1,mV2500,5,True ,0,250,0.1,0)
PulseCount (rain_fall,1,2,2,0,0.01,0) 'TE525 tipping bucket 0.01 inches per tip
PulseCount (wind_speed,1,1 ,1,1,0.2192,0) 'Mult for 05103 Wind Monitor.
BrHalf (wind_dir,1,mV2500,4,Vx2,1,2500,False,450,250,355,0) 'Mult. for 05103 Wind Monitor.
VoltDiff (solar_rad,1,mV7_5,3,True,450,250,200,0)
meas_error = 0 'Initialize disable variable for Efield average in slow table.
SW12 (1 ) 'Apply 12 V to warm-up Temp and RH probe at least 150 ms.
CS110(E_field,leakage_cur,status,_60Hz,Mcorrected,0)
VoltSe (RH,1,mV2500,1,1,0,250,0.1,0)
VoltSe (air_temp,1,mV2500,2,1,0,250,.18,-40)
SW12 (0) 'Turn off power to Temp and RH probe.
if RH > 100 and RH < 108 then
RH = 100
EndIf
If E_field = NAN Then 'Not-A-Number because of measurement problem.
meas_error = 1 'Disable output to slow table if efield = NAN.
EndIf
E_status(status) = 1 'Set appropriate element in status array.
If status > 6 Then
Error_Count = Error_Count + 1 'Increment Error_Count.
EndIf
CallTable Tabfast
CallTable Tabslow
NextScan
EndProg
This program incorporates two different user-defined data tables, Tabfast and
Tabslow. Tabfast contains 1 second measurements, while Tabslow contains 1
minute averaged data. Under certain error conditions the CS110 returns NAN
(Not-A-Number) for measured electric field rather than a questionable electric
field measurement. For example, the CS110 will detect if the shutter cannot be
properly closed at the completion of a measurement due to an obstruction. If
the shutter cannot properly close then the CS110 will return NAN for the
electric field measurement along with a status value indicating that the motor
could not properly close the shutter. The various CS110 status codes are
described in Appendix A.
The above program utilizes the array E_status(16) to store the various status
codes returned from a given measurement. The Totalize instruction in
Tabslow computes the total number of occurrences for each array value during
the output interval. Consequently, the array E_status returns the total number
of occurrences of each status code during the associated 1 minute output
interval. As given in Appendix A, status codes 1, 2, and 3 are associated with
good electric field measurements, whereas each of the higher codes indicates a
concerning condition such as low-battery voltage or too much leakage current
on the electrode insulators.
There are times when it is desirable to exclude a measured result from an
output processing instruction such as Average. This can be conveniently
24
Vista de página 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 87 88

Comentários a estes Manuais

Sem comentários