Chapter 3
Local Command Set
3-74
ni.com
SetTrigHndlr
Purpose
Replace the current TTL/ECL trigger, counter, or tick timer interrupt handler with a specified
trigger source with a specified function.
Query Syntax
SetTrigHndlr <lines>, <function>
where
<lines>
is a bit vector of trigger lines (1 = set; 0 = do not set), where the value
corresponds to the trigger line(s) to set.
and
<function>
is a pointer to the new trigger interrupt handler, where the value is defined
as follows.
Response
Program response: 0
Console response:
Trigger handler(s) installed (lines = <lines text>):
DefaultTrigHandler().
<CRLF>
where the meaning of
<lines text> = x, y, z...
, where
x
,
y
, and
z
are bits that are
set in
<lines>
.
Value
Trigger Line
0 to 7
TTL trigger lines 0 to 7
8 to 9
ECL trigger lines 0 to 1
14
TIC counter
15
TIC TICK timers
Value
Interrupt Handler
0
Specify
DefaultTrigHandler
1
Specify
DefaultTrigHandler2
Other
User-installed trigger interrupt handler