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