User`s manual

PCI 703 User Manual Eagle Technology - Data Acquisition
Eagle Technology © Copyright 2001-2004 www.eagledaq.com 24
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
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 sp ecifies 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. See
table on ADC gain codes. (G)
8 Specifies the range of the channel. See
table on ADC range codes. (R)
12 Specifies the analog reference.
0: analog in sense pin.
1: analog ground. (F)
Example Layout:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F3 F2 F1 F0 R
3
R
2
R
1
R
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.
Digital triggering
If digital triggering is used, pin TRIG1 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.
Analog triggering
If analog triggering is used, the voltage on analog output channel 1 is used as reference
voltage. This voltage can be changed at set and the PCI703 will compare the current input
voltage to the ADC system, this can be from any channel included in the channel list, with the
voltage of DAC channel 1. The trigger event can be any of the four settings.
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. See
table on ADC gain codes. (G)
8 Specifies the range of the channel. See
table on ADC range codes. (R)
12
Specifies the analog reference.
0: analog in sense pin.
1: analog ground. (F)
Example Layout:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0