To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example creates a randomly placed box on a graph and times how long it takes for the user to click inside the box from the moment the box was placed.
Description
This example creates a new box at a randomized location and displays its point of position after you click the "New Box" button. When you click inside the box from the moment the box was placed, the boolean lights and indicator times how long it takes. To work correctly, be sure to not move the location of the graph on the front panel.
Requirements
Steps to Implement or Execute Code
Additional Information or References
Front Panel
VI 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.