A SERVICE OF

logo

PCI30FG User Manual
Eagle Technology © Copyright 2002 23
Long EDREADX.Start ()
Parameter Type Description
Return Long Error Code
API-CALL
Long EDRE_ADStop (ulng Sn)
Parameter Type Description
Sn Unsigned long Board’s serial number
Return Long Error Code
ACTIVEX CALL
Long EDREADX.Stop ()
Parameter Type Description
Return Long Error Code
Getting data from the driver buffer
A single call is necessary copy data from the driver buffer to the user buffer.
API-CALL
Long EDRE_ADGetData (ulng Sn, plong Buf, pulng BufSize)
Parameter Type Description
Sn Unsigned long Board’s serial number
Buf Pointer to a long
buffer.
Buffer to copy micro voltages too.
BufSize Pointer to an
unsigned long
Size of buffer must be passed or number of
samples requested. The returned value will
indicate the number of actual samples copied
to the buffer.
Return Long Error Code
ACTIVEX CALL
Long EDREADX.GetData (plong Buffer, plong Size)
Parameter Type Description
Buf Pointer to a long
buffer.
Buffer to copy micro voltages too.
BufSize Pointer to a long Size of buffer must be passed or number of
samples requested. The returned value will
indicate the number of actual samples copied
to the buffer.
Return Long Error Code
Querying the ADC subsystem
The driver can be queried to check the status of the ADC subsystem. The
number of unread samples is one example.