Instruction manual
AMPDIO DRIVERS
Page 137
where h short: board handle as issued by the
registerBoardEx function.
pulseChip short: address offset of timer/counter chip for
the pulse generator. One of the following pre-
defined constants may be used:
X1 = 0
X2 = 4
Y1 = 8
Y2 = 12
Z1 = 16
Z2 = 20
pulseChan short: timer/counter channel number within the
chip for the pulse generator (0, 1 or 2). Two
other timer/counter channels (pulseChan-2 and
pulseChan-4) will also be used. These
timer/counter channels may be on previous
chips or wrap around to the highest chips.
pulseClock short: clock source for the pulse generator.
One of the following pre-defined constants may
be used, or use -1 to choose a value
automatically for boards with clock connection
registers:
-1 (choose automatically)
CLK_10MHZ = 1 (fixed 10 MHz clock)
CLK_1MHZ = 2 (fixed 1 MHz clock)
CLK_100KHZ = 3 (fixed 100 kHz clock)
CLK_10KHZ = 4 (fixed 10 kHz clock)
CLK_1KHZ = 5 (fixed 1 kHz clock)
pulseCount short: number of pulses to output in each train.
pulseShape short: shape of pulses:
0 (negative-going for 1 clock period)
1 (negative-going square pulses)
oneshotClock short: clock source for the one-shot train
duration. One of the following pre-defined
constants may be used, or use -1 to choose a
value automatically for boards with clock
connection registers:
-1 (choose automatically)
CLK_10MHZ = 1 (fixed 10 MHz clock)
CLK_1MHZ = 2 (fixed 1 MHz clock)
CLK_100KHZ = 3 (fixed 100 kHz clock)
CLK_10KHZ = 4 (fixed 10 kHz clock)
CLK_1KHZ = 5 (fixed 1 kHz clock)
oneshotTime double: desired one-shot train duration in
seconds.
trainClock short: clock source for the train rate generator.
One of the following pre-defined constants may