PCI 730 & PC104P-30 User Manual
Eagle Technology - Data Acquisition
ClkSrc
Unsigned long
This parameter is used to configure the clocking system of the ADC.
Format
Offset (bits)
Description
0 Clock
Source
ALLWAYS INTERNAL
8
Trigger Source (T0-T3)
Value Description
0 Internal
1
External – EXT_TRIGGER
Example Layout:
11 10 9 8 7 6 5 4 3 2 1 0
T3 T2 T1 T0 x x x x x x x x
Burst
Unsigned long
Not used
Range
Unsigned long
Not used
ChanList
Pointer to an
unsigned long
This is an array of unsigned longs which contains the channels to be sampled when scanning the ADC
sub-system. The max size of the channel list is half the FIFO depth.
GainList
Pointer to an
unsigned long
The gain list contains an array of unsigned longs which specifies the setup for each channel according to
the previous list. The table below shows the format for each channel.
Offset (bits)
Description
0
Specifies the gain of the channel
Value Gain Range
0 1
±
2.5V
1 0.5
±
5V
2 0.25
±
10V
8
Specifies the input mode of the channel
Value Input
Mode
0 Single
Ended
1 Differential
Example Layout:
11 10 9 8 7 6 5 4 3 2 1 0
M
3
M
2
M
1
M
0
G
7
G
6
G
5
G
4
G
3
G
2
G
1
G
0
ListSize
Unsigned long
This parameter determines the length the two previous arrays. This is also the depth of the channel list
that is programmed to the board.
1.1.1.1 Digital triggering
If digital triggering is used, pin EXT_TRIGGER is used. This pin is active high and will start
the ADC process when it is high. The process will continue until it is stopped via software.
ACTIVEX CALL
Long EDREADX.Configure (plong Channels, plong Gains, long ListSize)
Parameter
Type
Description
Channels
Pointer to a
long
This is an array of longs that contains the channels to be sampled when scanning the ADC sub-system.
The max size of the channel list is half the FIFO depth.
Gains
Pointer to a
long
The gain list contains an array of longs that specifies the setup for each channel according to the
previous list. The table below shows the format for each channel.
Offset (bits)
Description
0
Specifies the gain of the channel
Value Gain Range
0 1
±
2.5V
1 0.5
±
5V
2 0.25
±
10V
8
Specifies the input mode of the channel.
Value Input
Mode
0 Single
Ended
1 Differential
Eagle Technology © Copyright 2003 – www.eagledaq.com
24