User`s manual

PCI 703 User Manual Eagle Technology - Data Acquisition
Eagle Technology © Copyright 2001-2004 www.eagledaq.com 26
EDREADX.ClockSource
ClockSource This parameter is used to configure the clocking system of the ADC.
Format
Offset (bits) Description
0 Clock Source (C0-C7)
0: Undefined
1: Internal
2: External
8 Trigger Source (T0-T3)
0: Internal
1: Reference (NOT SUPPORTED BY PCI 703S)
2: External
12 Trigger Mode Only applies to the reference trigger source. (M0-M3)
0: Positive
1: Negative
2: Rising
3: Falling
Example Layout:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M
3
M
2
M
1
M
0
T3 T2 T1 T0 C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
Starting and Stopping the ADC process
A single call is necessary to start or stop the ADC process
API-CALL
Long EDRE_ADStart (ulng Sn)
Parameter Type Description
Sn Unsigned long Board’s serial number
Return Long Error Code
ACTIVEX CALL
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)