To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Allows a specified control to be clicked and dragged over any graph to view the data underneath.
Description
This example is the generalized version of a UI Element demonstrated at the 2014 NI Week Cyber Physical Pavilion. Everything this code does is a Native LabVIEW implementation. No external code is called.
By specifying a control by its Reference to the Data Viewer Main VI it is able to be clicked and dragged over any graph which has been moved to the back. Everything is done automatically. All that needs to be done is connect the required terminals of the Data Viewer Main VI. The center of the control specifies the location on the graph and controls a specific cursor which is automatically created.
The data specified by the cursor is read and either sent to the Control itself or sent into a Queue which can be used elsewhere in your application.
Requirements
Software:
Steps to Implement or Execute Code
Additional Information or References
NI Snippet
**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.