Instruction manual

AMPDIO DRIVERS
Page 147
On setting up the restricted periodic pulse train generator, both channels are started. For
pulses to be generated, both channels must be started and the 'train' channel's gate input
must be high.
SUPPORTED IN VERSION 4.40 ONWARDS.
i = TCcontrolRestrictedPulseTrain (h, hRPT, runPulse, runTrain)
where h short: board handle as issued by the
registerBoardEx function.
hPPT short: periodic pulse train generator handle, as
issued by the TCsetPeriodicPulseTrain
function.
runPulse short: controls the 'pulse' channel:
0 (stop the pulse channel [if started])
1 (start the pulse channel [if stopped])
runTrain short: controls the 'train' channel:
0 (stop the train channel [if started])
1 (start the train channel [if stopped])
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetRestrictedPulseTrain
See Also TCfreeRestrictedPulseTrain
TCchangeRestrictedPulseTrainGate
TCchangeRestrictedPulseTrainFreq
TCchangeRestrictedPulseTrainCount
6.4.8.19 Free a Restricted Periodic Pulse Train Generator TCfreeRestrictedPulseTrain
Frees resources used by a restricted periodic pulse train generator as set up by
TCsetRestrictedPulseTrain.
SUPPORTED IN VERSION 4.32 ONWARDS.
i = TCfreeRestrictedPulseTrain (h, hRPT)
where h short: board handle as issued by the
registerBoardEx function.
hRPT short: restricted periodic pulse train generator
handle, as issued by the
TCsetRestrictedPulseTrain function.
Returns short: OK
or ERRHANDLE
ERRCHAN