National Instruments GPIB-PC Network Card User Manual


 
IBIC Section Six
GPIB-PC User Manual 6-4 ©National Instruments Corp.
Select only one monitor flag:
-off turns the monitor off. No recording or trapping occurs.
-rec instructs the monitor to record all GPIB handler calls but
no trapping occurs.
-dis instructs the monitor to record all GPIB handler calls and
display whenever a trap condition exists.
Omitting either the mask or the monitor flags will leave its current
configuration unchanged. Invoking IBTRAP without any flags will
display the valid flags and their current state. This has no effect on the
monitor configuration.
By selecting various flags for the mask and monitor parameters, you
may achieve a variety of trapping configurations. The following are
some examples:
IBTRAP -cic -atn -dis record all GPIB handler calls and
display the monitor whenever
attention is asserted or the GPIB-
PC Controller-in-Charge.
IBTRAP -srq -rec record all GPIB handler calls and
set the trap mask to trap when SRQ
is on. Do not display the monitor
when a trap condition exists.
IBTRAP -dis record all GPIB handler calls and
display the monitor whenever a trap
condition exists. The trap mask
remains unchanged.
IBTRAP -off disable the monitor. No recording
or trapping is performed.
See Section Four of the Programming Language Supplement for the
appropriate syntax to use in your application program.