Example Code

Keep track about mouse movement in LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This VI shows how to use event structure to keep track about mouse movement over a led grid.

 

Description

This VI gives very good basics for doing so. The application uses an event structure to track mouse movements and coordinates. It then uses stacked shift registers to track the LEDs for 23 iterations. At the top of the VI is a display of the LED indices and the coordinates of the mouse.

 

Requirements

  • LabVIEW 2012 (or compatible)

 
Steps to Implement or Execute Code

1. Run VI
2. Move mouse on Led area.

 

Additional Information or References
Block Diagram

Keep track about muose movements LV2012 NI verified.png 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

Chris Van Horn
Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Kevshortt144
Member
Member
on

This is really cool, thankyou Chris_VH!