Download Agilent VISA User`s Guide

Transcript
VISA Language Reference
viUninstallHandler
viUninstallHandler
Syntax
Description
viUninstallHandler(ViSession vi, ViEventType eventType,
ViHndlr handler, ViAddr userHandle);
This function allows applications to uninstall handlers for events on
sessions. Applications should also specify the value in the userHandle
parameter that was passed to viInstallHandler while installing the
handler.
VISA identifies handlers uniquely using the handler reference and the
userHandle. All the handlers, for which the handler reference and the
userHandle matches, are uninstalled.
Parameters
Name
Direction
Type
Description
eventType
IN
ViEventType
Logical event identifier.
handler
IN
ViHndlr
Interpreted as a valid reference to a
handler to be uninstalled by an
application. (See the following table.)
userHandle
IN
ViAddr
A value specified by an application
that can be used for identifying
handlers uniquely in a session for an
event.
vi
IN
ViSession
Unique logical identifier to a session.
The following events are valid:
Event Name
Description
VI_EVENT_IO_COMPLETION
Notification that an asynchronous operation has
completed
VI_EVENT_SERVICE_REQ
Notification that a device is requesting service.
VI_EVENT_TRIG
Notification that a hardware trigger was received
from a device.
VI_EVENT_VXI_SIGP
Notification that a VXI signal or VXI interrupt has
been received from a device.
292
Chapter 7