Disablevxiint (controller, levels), Disablevxitosignalint (controller, levels), Enablevxiint (controller, levels) – National Instruments NI-VXI User Manual

Page 86

Advertising
background image

Chapter 3 Software Overview

NI-VXI User Manual

3-48

© National Instruments Corporation

DefaultVXIintHandler

sets the global variables

VXIintController

,

VXIintLevel

, and

VXIintStatusId

. You can

leave this default handler installed or install a completely new handler
using

SetVXIintHandler

.

DisableVXIint (controller, levels)

DisableVXIint

desensitizes the application to specified VXI

interrupt levels being processed as VXI/VME interrupts (not as VXI
signals).

EnableVXIint

enables VXI/VME interrupts to be handled as

VXI/VME interrupts (not as VXI signals). A -1 (negative one) or local
logical address in the controller parameter specifies the local frame
(for an embedded CPU) or the first extended controller (in an external
CPU situation).

DisableVXItoSignalInt (controller, levels)

DisableVXItoSignalInt

desensitizes the application to specified

VXI/VME interrupt levels being processed as VXI/VME signals. An

EnableVXItoSignalInt

call enables VXI/VME interrupt levels that

are routed to VXI signals. Use

DisableVXItoSignalInt

to disable

these interrupts. Use

EnableVXIint

to enable interrupts not routed to

signals. A -1 (negative one) or local logical address in the controller
parameter specifies the local frame (for an embedded CPU) or the first
extended controller (in an external CPU situation). If a

RouteVXIint

call has specified to route a particular VXI/VME interrupt level to the
VXI signal processing routine and the global signal queue becomes
full,

DisableVXItoSignalInt

is automatically called to inhibit these

VXI/VME interrupts from being received from the appropriate levels.

EnableVXItoSignalInt

is automatically called to enable interrupt

reception when

SignalDeq

is called.

EnableVXIint (controller, levels)

EnableVXIint

sensitizes the application to specified VXI/VME

interrupt levels being processed as VXI/VME interrupts (not as
VXI signals). After calling

InitVXIlibrary

, the application can

sensitize itself to interrupt levels for which it is configured to handle.

RouteVXIint

specifies whether interrupts are to be handled as

VXI/VME interrupts or as VXI signals (the default is VXI signals).
You must then call

EnableVXIint

to enable interrupts to be handled

as VXI/VME interrupts (not as VXI signals). A -1 (negative one) or
local logical address in the controller parameter specifies the local

Advertising