To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example demonstrates how to check for an event on a IMAQ type control.
Description
Since the Vision Development Module does not feature native events in LabVIEW event structures like the Value Change event that can detect when a button has been pressed, the example uses a Mouse Up event of the IMAQ Image Display control instead. To trigger any manual event on a IMAQ control that requires at least a mouse click. After that click has been detected with the Mouse Up event an invoke node of the IMAQ Image Display control with the function Get Last Event is called to return the last event with that particular IMAQ control.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.