Instruction manual
AMPDIO DRIVERS
Page 156
This is used to choose the internal clock
source when the clock source is chosen
automatically. This is just an assumed period.
The function has no control over the actual
period between triggers.
The maximum period is 65536 s divided by the
frequency of the clock source, e.g. for
CLK_1KHZ the maximum period is 65.356 s. If
the clock source is chosen automatically and
the card has clock connection registers, the
maximum period is as for CLK_1KHZ, i.e.
65.536 s.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetPWPulse
See Also TCfreePWPulse
TCchangePWPulseDutyCycle
TCcontrolPWPulse
6.4.8.29 Control a Programmable Width Pulse Generator's Timer Channel — TCcontrolPWPulse
Stops or starts the programmable width pulse generator. When the pulse generator is
stopped, its output will go high immediately and it will no longer respond to triggers on its gate
input. When the pulse generator is started, it will respond to triggers on its gate input.
When initially set up by TCsetPWPulse, the pulse generator is started.
SUPPORTED IN VERSION 4.42 ONWARDS.
i = TCcontrolPWPulse (h, hPWP, run)
where h short: board handle as issued by the
registerBoardEx function.
hPWP short: programmable width pulse generator
handle, as issued by the TCsetPWPulse
function.
run short: controls the programmable width pulse
generator:
0 (stop the pulse channel [if started])
1 (start the pulse channel [if stopped])
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx