Instruction manual
AMPDIO DRIVERS
Page 152
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetOneShotPulseTrain
See Also TCfreeOneShotPulseTrain
TCchangeOneShotPulseTrainTrigger
TCchangeOneShotPulseTrainCount
TCcontrolOneShotPulseTrain
6.4.8.24 Control a Hardware-Triggered One-Shot Pulse Train Generator's Timer Channels —
TCcontrolOneShotPulseTrain
Stops or starts the 'pulse' channel and/or the 'one-shot' channel of the hardware retriggerable
one-shot pulse train generator. If the 'pulse' channel is stopped, its output will go high
immediately. If the 'one-shot' channel is stopped, the outputs of both the 'one-shot' channel
and the 'pulse' channel will go high immediately.
On setting up the hardware retriggerable one-shot pulse train generator, both channels are
started. For the pulse train generator to be armed, both channels must be started.
SUPPORTED IN VERSION 4.40 ONWARDS.
i = TCcontrolOneShotPulseTrain (h, hOSPT, runPulse, runOneshot)
where h short: board handle as issued by the
registerBoardEx function.
hOSPT short: one-shot pulse train generator handle,
as issued by the TCsetOneShotPulseTrain
function.
runPulse short: controls the 'pulse' channel:
0 (stop the pulse channel [if started])
1 (start the pulse channel [if stopped])
runOneshot short: controls the 'one-shot' channel:
0 (stop the one-shot channel [if started])
1 (start the one-shot channel [if stopped])
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetOneShotPulseTrain
See Also TCfreeOneShotPulseTrain
TCchangeOneShotPulseTrainTrigger
TCchangeOneShotPulseTrainCount
TCchangeOneShotPulseTrainDuration