Instruction manual

AMPDIO DRIVERS
Page 139
Has no effect on boards without gate connection registers.
i = TCchangePeriodicPulseTrainGate (h, hPPT, trainGate)
where h short: board handle as issued by the
registerBoardEx function.
hPPT short: periodic pulse train generator handle, as
issued by the TCsetPeriodicPulseTrain
function.
trainGate short: gate input source for the train rate
generator (if the board has gate connection
registers). One of the following pre-defined
constants may be used:
GAT_VCC = 0 (gate on/high)
GAT_GND = 1 (gate off/low)
GAT_EXT = 2 (gate from external
input)
GAT_OUTN_2 = 3 (gate from inverted
output of a timer
channel offset by -2
from train channel)
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetPeriodicPulseTrain
See Also TCfreePeriodicPulseTrain
TCchangePeriodicPulseTrainFreq
TCchangePeriodicPulseTrainCount
TCchangePeriodicPulseTrainDuration
TCcontrolPeriodicPulseTrain
6.4.8.9 Change Periodic Pulse Train’s Train Frequency TCchangePeriodicPulseTrainFreq
Changes the train frequency for the periodic pulse train generator (as set up by
TCsetPeriodicPulseTrain) to the specified value.
SUPPORTED IN VERSION 4.32 ONWARDS.
i = TCchangePeriodicPulseTrainFreq (h, hPPT, trainFreq)
where h short: board handle as issued by the
registerBoardEx function.
hPPT short: periodic pulse train generator handle, as
issued by the TCsetPeriodicPulseTrain
function.
trainFreq double: desired train frequency in Hz. The
actual frequency will be rounded to an integral