Instruction manual
AMPDIO DRIVERS
Page 151
6.4.8.22 Change One-Shot Pulse Train’s Pulse Count — TCchangeOneShotPulseTrainCount
Changes the pulse count for the hardware-retriggerable one-shot pulse train generator (as set
up by TCsetOneShotPulseTrain) to the specified value by altering the pulse frequency and the
one-shot duration. For a one-shot currently in progress, the wrong number of pulses may be
generated.
SUPPORTED IN VERSION 4.32 ONWARDS.
i = TCchangeOneShotPulseTrainCount (h, hOSPT, pulseCount)
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.
pulseCount short: number of pulses to output in each train.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetOneShotPulseTrain
See Also TCfreeOneShotPulseTrain
TCchangeOneShotPulseTrainTrigger
TCchangeOneShotPulseTrainDuration
TCcontrolOneShotPulseTrain
6.4.8.23 Change One-Shot Pulse Train’s Train Duration — TCchangeOneShotPulseTrainDuration
Changes the one-shot duration for the hardware-retriggerable one-shot pulse train generator
(as set up by TCsetOneShotPulseTrain) to the specified value by altering the pulse frequency
and the one-shot duration. For a one-shot currently in progress, the wrong number of pulses
may be generated.
SUPPORTED IN VERSION 4.32 ONWARDS.
i = TCchangeOneShotPulseTrainDuration (h, hOSPT, oneshotTime)
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.
oneshotTime double: desired one-shot train duration in
seconds.
Returns short: OK
or ERRHANDLE