ACR Electronics SmartReader Plus Manual do Utilizador Página 146

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 145
TrendReader Standard 2
135
2005 ACR Systems Inc.
''Calculate engineering value from [2] 12bit Logger-> [11] 5VDC-> [18] 0-5VDC
Dim
X
As
Double
Eqn("5FD6BC0D64D34f73AFC40144A13A7998", X)
ANSWER0= - 12.5 + 25*X
' Apply square root of logger's sample rate
ANSWER0=ANSWER0+ Math.Sqrt(Logger.SampleRate)
End
Sub
7.8.5.3
Object Properties
To get the logger level properties, enter:
X=Logger.{ Property name }
To get the current channel level properties, enter:
X=Logger.Channel ( CurrentChannelIndex ). { Property name }
You can either type in the Property name, or select it from the list that appears because of the
intellisense feature of the editor.
Example:
This example demonstrates how to include calibration properties in an equation.
Sub
EQN101( )
''Calculate engineering value from [2] 12bit Logger-> [11] 5VDC-> [18] 0-5VDC
Dim
X
As
Double
Eqn("5FD6BC0D64D34f73AFC40144A13A7998",X)
ANSWER0= - 12.5 + 25*X
' Apply low calibration value of current channel
ANSWER0=ANSWER0+ (
Logger.Channel(CurrentChannelIndex).LowCalibration ) / 100
End
Sub
7.8.5.4
Linear Equation
The following is an example of the equation for an SRP7 logger using a relative humidity
sensor.
Input sensor:
relative humidity sensor with output of 0.5-4.5V
representing 0-100% humidity
Logger:
SRP7 0-5V channel
Equation output:
0-100%
The easiest way to create a linear equation for the relative humidity sensor is through the New
Equation Wizard. The resulting equation will be:
Sub
EQN101( )
''Calculate engineering value from SmartReaderPlus-> [11] 5VDC-> [18] 0-5VDC
Dim
X
As
Double
Vista de página 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 197 198

Comentários a estes Manuais

Sem comentários