Campbell-scientific CR1000 Measurement and Control System Manual de usuario Pagina 428

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 588
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 427
Section 10. Troubleshooting
428
the measurement and processing times in the Status table (MeasureTime,
ProcessTime, MaxProcTime) for all scans, then try experimenting with the
InstructionTimes() instruction in the program. Analyzing InstructionTimes()
results can be difficult due to the multitasking nature of the logger, but it can be a
useful tool for fine tuning a program.
10.3.4 NAN and ±INF
NAN (not-a-number) and ±INF (infinite) are data words indicating an exceptional
occurrence in datalogger function or processing. NAN is a constant that can be
used in expressions as shown in CRBasic example Using NAN in Expressions
(p.
428).
. NAN can also be used in conjunction with the disable variable (DisableVar)
in output processing (data storage) instructions as shown in CRBasic example
Using NAN to Filter Data
(p. 431).
10.3.4.1 Measurements and NAN
A NAN indicates an invalid measurement.
10.3.4.1.1 Voltage Measurements
The CR1000 has the following user-selectable voltage ranges: ±5000 mV, ±2500
mV, ±250 mV, ±25 mV, ±7.5 mV, ±2.5 mV. Input signals that exceed these
ranges result in an over-range indicated by a NAN for the measured result. With
auto range to automatically select the best input range, a NAN indicates that either
one or both of the two measurements in the auto-range sequence over ranged. A
voltage input not connected to a sensor is floating and the resulting measured
voltage often remains near the voltage of the previous measurement. Floating
measurements tend to wander in time, and can mimic a valid measurement. The
C (open input detect/common-mode null) range-code option can be used to force
a NAN result for open (floating) inputs.
10.3.4.1.2 SDI-12 Measurements
NAN is loaded into the first SDI12Recorder() variable under these conditions:
When busy with terminal commands.
When the command is an invalid command.
When the sensor aborts with CR LF and there is no data.
CRBasic EXAMPLE. Using NAN in Expressions
CRBasicExample68. UsingNANinExpressions
If WindDir = NAN Then
WDFlag = False
Else
WDFlag = True
EndIf
Vista de pagina 427
1 2 ... 423 424 425 426 427 428 429 430 431 432 433 ... 587 588

Comentarios a estos manuales

Sin comentarios