Chapter 3
Local Command Set
3-86
ni.com
Response
Program response: 0
Console response:
TICKs configured (mode = <mode text>, source = <source text>,
t1 = tcount1, t2 = tcount2).
<CRLF>
where the meaning of
<mode text>
corresponds to the value of
<mode>
.
and the meaning of
<source text>
corresponds to the value of
<source>
.
Example 1
Configure the tick timers to interrupt every 6.55 milliseconds by dividing down CLK10 as an
input. Call
EnaTrigSense
to start the tick timers and enable interrupts.
TrigTickConf 0, 70, 16, 0
Example 2
Configure the tick timers to output a continuous 9.765-kHz square wave on TICK1 output and
a 1.25-MHz clock on TICK2 output by dividing down CLK10 as an input. Call
SrcTrig
to
start the tick timers.
TrigTickConf 0, 70, 10, 3
Value of
<mode>
Value of
<mode text>
0
INIT w/ROLL
1
INIT w/NOROLL
2
RELOAD
3
DISABLE
Value of
<source>
Value of
<source text>
40 to 49
GPIO (<source> - 40)
70
CLK10
71
EXTCLK