Example Code

Programmatically Change Position of Cursor Line on IMAQ Image Display

Code and Documents

Attachment

Introduction

This example shows how to use the IMAQ Overlay function with the IMAQ Last Mouse Position Property Node to programmatically change the position of a cursor line on an IMAQ image display.

Steps to Complete

-Open the attached VI.

-Run the attached VI.

-Specify an image you wish to open.

-Click anywhere on the image.

-Notice the 'cursor' line follows where ever you click.

Additional Notes

This example was developed in LabVIEW 8.6.1 with NI Vision Development Module 8.6

Hope this helps.
-Ben

WaterlooLabs

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

Contributors