VISA Disable Event Function
- Updated2025-07-30
- 2 minute(s) read
Disables servicing of an event.
This operation prevents new event occurrences from being queued. However, event occurrences already queued are not lost. Use the VISA Discard Events VI to discard queued events.

Inputs/Outputs
VISA resource name
—
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
event type (all enabled)
—
event type is the logical event identifier. You can select from the following VISA event types.
Refer to the NI-VISA Help for more information about event types.
mechanism (1: VI_QUEUE)
—
mechanism specifies the event handling mechanism to be disabled. Currently only accepts VI_QUEUE (1).
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out
—
VISA resource name out is a copy of the VISA resource name that VISA functions return.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Instrument IO\GPIB\SRQ Event Handling.vi
VISA resource name
—
event type (all enabled)
—
mechanism (1: VI_QUEUE)
—
error in (no error)
—
VISA resource name out
—
error out
—