To download NI software, including the products shown below, visit ni.com/downloads.
1. Overview:
This VI performs draws the track that the mouse pointer peforms on the graph and set points in the graph when user clicks over it
2. Description:
Get the coordinates of a mouse click or track the movement of the mouse are requirements that could be tough to handle if the properties of the event structure are unknown. In this example, it is shown how to use this structure and its properties to get the track of the mouse over a graph and get the coordinates of a mouse click. Both track and point coordinates will be represented in a XY Graph.
3. Requirements
4. Steps to Implement or Execute Code
5. Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.