Overview
This VI will take in a reference for the VI it is being called by and then output information about the position of; the VI front panel, the mouse in repect to the screen and the mouse in respect to the front panel.
Description
Want to know where your Front Panel is positioned or what co-ordinates your mouse cursor is at? This VI finds the position of your Front Panel, the position of your mouse in respect to the desktop and the position of your mouse in respect to your front panel. It is designed to be used as a subVI in one of your programs, taking in a reference to the VI that is calling it and outputting all the values mentioned above as 32bit integers.
Requirements
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Put the Front Panel and mouse cursor at a place on the screen.
- Run the VI.
- This VI finds the position of your Front Panel, the position of your mouse in respect to the desktop and the position of your mouse in respect to your front panel.
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**