Return Value; None - Advantech ADAM-5511 Manual

Table of Contents

Advertisement

Scale
Syntax:
float scale(int val, float SrcHi, float SrcLow, float DestHi, float Dest-
Low)
Description:
Auto scaling the value from source range to destination range.
Parameter
val
SrcHi
SrcLow
DestHi
DestLow

Return Value:

The value after scaling.
Remarks:

None.

Description
the original value
the high limit of original range
the low limit of original range
the high limit of target range
the low limit of target range

Advertisement

Table of Contents
loading

Table of Contents