Manual Number: 00650-014-4
Page 6-6
AD12-8 Manual
7&7<3(
*$,1
*$,1&2'(
P92/76&2817
E
H
M
N
U
V
W
57'7<3(
*$,1
*$,1&2'( P92/76&2817
D
X
Error Codes:
POINT_ERROR:
One or both point addresses are > 127.
CHANNEL_ERROR: The reference channel is not from zero to eight.
GAIN_ERROR:
The gain code is not from zero to eight.
UNIT_ERROR:
The units parameter is not zero or one.
CURVE_ERROR:
The curve parameter is not valid.
AD128_SUCCESS:
Operation was performed without error.
AD128_FetchPointConfig
Function:
Returns the values previously set up for a given point.
Syntax:
Visual BASIC:
AD128_FetchPointConfig(Byval addr as integer, curve as Integer, low as
Single, hi as Single, units as Integer, gain as Integer) as Integer
C:
int PASCAL AD128_FetchPointConfig(int addr,int curve, float low, float
hi, int units,int gain);
addr:
Point address of the desired point configuration.
curve:
An integer point to return the ASCII code of the curve.
low:
Float pointer to return lower scaling value.
hi:
Float pointer to return upper scaling value.
units:
Integer pointer to return temperature units. A zero indicates degrees C and
a one indicates degrees F.
gain:
Integer to return gain code.
Notes:
None.
Error Codes:
INVALID_PTR:
One or more of the return pointers is invalid.