Defaultsysresethandler (controller), Disableacfail (controller), Disablesoftreset () – National Instruments NI-VXI User Manual

Page 100: Disablesysfail (controller)

Advertising
background image

Chapter 3 Software Overview

NI-VXI User Manual

3-62

© National Instruments Corporation

DefaultSysresetHandler (controller)

DefaultSysresetHandler

is the sample handler for the Sysreset

interrupt, and is installed as a default handler when

InitVXIlibrary

initializes the NI-VXI software. It increments the global variable

SysresetRecv

.

DisableACfail (controller)

DisableACfail

desensitizes the application to ACfail interrupts from

embedded controller or extended controller(s) ACfail conditions
(dependent on the hardware platform). The VXI/VMEbus specification
allows for a minimum amount of time after a power failure condition
occurs for the system to remain operational. The detection of the power
failure asserts the VXI/VMEbus backplane signal ACFAIL*. An
ACfail condition detected on the local CPU generates an interrupt that
calls the current ACfail interrupt handler. Your application can take
any appropriate action within the allotted time period before complete
power failure.

DisableSoftReset ()

DisableSoftReset

desensitizes the application to Soft Reset

conditions on the local CPU. When the Reset bit in the VXI Control
register of the local CPU is written, the VXI interface (if an embedded
CPU) and the VXI register sets are reset (VXI logical address and
address base are retained). The write to the Reset bit causes an interrupt
on the local CPU, which can be handled in any appropriate manner.
The CPU cannot restart operation until the Reset bit is cleared. After
the Reset bit is cleared, the local CPU can go through a reinitialization
process or reboot altogether. If the local CPU is the Resource Manager
(and top-level Commander), the Reset bit should never be written.
Writing the Reset bit of any device should be reserved for the
Commander of the device.

Note:

The Soft Reset interrupt does not apply to VME.

DisableSysfail (controller)

DisableSysfail

desensitizes the application to Sysfail interrupts

from embedded controller or extended controller(s) Sysfail conditions
(dependent on the hardware platform). The VXIbus specification
requires that all VXI Commanders monitor the PASSed or FAILed
state of their VXI Servants. When a VXIbus device is in the FAILed

Advertising