Owning Palette: Event Handling VIs and Functions
Requires: Base Development System
Discards all pending occurrences of the specified event type and mechanism from the specified session.
This function discards information about all the event occurrences that have not yet been handled. This behavior is useful if you want to remove event occurrences that an operation no longer needs. Discarded event occurrences are not available to a session at a later time.
Add to the block diagram | Find on the palette |
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.
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. |
Refer to the Detect Serial Break Event VI in the labview\examples\Instrument IO\Serial directory for an example of using the VISA Discard Events function.