Chapter 6: AD12-8 Windows Driver Reference
Manual Number: 00650-014-4
Page 6-9
POINT_UNINSTALL: The next point in the point list has not been
installed with a call to
AD128_SetPointConfig()
.
CARD_INACTIVE:
The card does not respond, no end-of-conversion.
AD128_SUCCESS:
Operation was performed without error.
AD128_GetIndexPoint
Function:
Performs an A/D conversion on a given point in the point list.
Syntax:
Visual BASIC:
AD128_GetIndexPoint(Byval index as Integer, addr as Integer, result as
Single) as Integer
C:
int PASCAL AD128_GetIndexPoint(int index,int *addr,float *result);
index:
The location of the point in the point list to convert.
*addr:
Pointer for the driver to return the point address of the converted point.
*result:
A floating point pointer to return the results of the conversion.
Notes:
The value returned has all curve functions and scaling applied to the result.
The
index
parameter represents a position in the point list rather than a point
address. For instance, if a 5 is passed, then the fifth entry in the point list
is converted.
Error Codes:
INVALID_PTR:
One or more of the return pointers is invalid.
LIST_ERROR:
The point location was not found.
POINT_UNINSTALL: The next point in the point list has not been
installed with a call to
AD128_SetPointConfig()
.
CARD_INACTIVE:
The card does not respond, no end-of-conversion.
AD128_SUCCESS:
Operation was performed without error.
AD128_GetDirectPoint
Function:
Performs an A/D conversion on a given point address.
Syntax:
Visual BASIC:
AD128_GetDirectPoint(Byval addr as Integer, result as Single) as Integer
C:
int PASCAL AD128_GetDirectPoint(int addr,float *result);
addr:
The point address of the point to convert.
*result:
A floating point pointer to return the results of the conversion.
Notes:
The value returned has all curve functions and scaling applied to the result.
The point list is not used. The routine converts the point address passed.
Error Codes:
INVALID_PTR:
One or more of the return pointers is invalid.
POINT_UNINSTALL: The next point in the point list has not been
installed with a call to
AD128_SetPointConfig()
.
CARD_INACTIVE:
The card does not respond, no EOC.
AD128_SUCCESS:
Operation was performed without error.