Справочник Пользователя для National Instruments NI-VXI

Скачать
Страница из 149
Chapter 3      Software Overview
NI-VXI User Manual
3-66
© National Instruments Corporation
errors at times and valid results at other times. The 
InitVXIlibrary
function automatically installs a default handler,
DefaultBusErrorHandler
, when it initializes the NI-VXI software.
Because bus errors can occur at any time, a corresponding enable and
disable function is not possible.
  SetSoftResetHandler (func)
SetSoftResetHandler
 replaces the current Soft Reset
interrupt handler with an alternate handler. A default handler,
DefaultSoftResetHandler
, is automatically installed when
InitVXIlibrary
 initializes the NI-VXI software.
EnableSoftReset
 must be called to enable writes to the Reset bit to
generate interrupts to the local CPU after the 
InitVXIlibrary
 call.
Note:
The Soft Reset interrupt does not apply to VME.
  SetSysfailHandler (func)
SetSysfailHandler
 replaces the current Sysfail interrupt handler
with an alternate handler. A Sysfail condition detected on the local
CPU generates an interrupt that calls the current Sysfail interrupt
handler. A default handler, 
DefaultSysfailHandler
, is
automatically installed when 
InitVXIlibrary
 initializes the NI-VXI
software. 
EnableSysfail
 must be called to enable Sysfail interrupts
after the 
InitVXIlibrary
 call.
  SetSysresetHandler (func)
SetSysresetHandler
 replaces the current SYSRESET* interrupt
handler with an alternate handler. The 
InitVXIlibrary
 function
automatically installs a default handler, 
DefaultSysresetHandler
,
when it initializes the NI-VXI software. Your application must then
call 
EnableSysreset
 to enable writes to the Reset bit to generate
interrupts to the local CPU.