Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

VISA Disable Event Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Event Handling VIs and Functions

Requires: Base Development System

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.

Example

VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
event type is the logical event identifier. You can select from the following VISA event types.

Service Request0x3FFF200B
Trigger0xBFFF200A
Clear0x3FFF200D
VXI Signal0x3FFF2020
VXI/VME Interrupt0xBFFF2021
VXI/VME Sysfail0x3FFF201D
VXI/VME Sysreset0x3FFF201E
GPIB CIC0x3FFF2012
GPIB Talk0x3FFF2013
GPIB Listen0x3FFF2014
PXI Interrupt0x3FFF2022
Serial Break0x3FFF2023
Serial TermChar0x3FFF2024
Serial CTS0x3FFF2029
Serial DSR0x3FFF202A
Serial DCD0x3FFF202C
Serial RI0x3FFF202E
Serial Character0x3FFF2035
USB Interrupt0x3FFF2037
All Enabled (default)0x3FFF7FFF


Refer to the NI-VISA Help for more information about event types.
mechanism specifies the event handling mechanism to be disabled. Currently only accepts VI_QUEUE (1).
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out is a copy of the VISA resource name that VISA functions return.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the SRQ Event Handling VI in the labview\examples\Instrument IO\GPIB directory for an example of using the VISA Disable Event function.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit