Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Get and Set cursor Position in IMAQ Windows

the goal is to move the mouse cursor with the arrows keys of the keyboard. I need to get/set relative coordinates in IMAQ window.
I Use windows events for drawing in the IMAQ window
0 Kudos
Message 1 of 2
(3,170 Views)
Here is an example which does pretty close to what you are looking for:

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/bcfd7915781846c286256b4a00525839?OpenDocument

There are some buttons on the front panel for moving the Line Profile in the image. You can associate each of these keys with a key on the keyboard by right-clicking on the button and going to Advanced>>Key Navigation.

Jack Arnold
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,170 Views)