LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D surface controls in Surface Pro

 I am developing a Labview code that displays 3D surface Graph of an image. 

The zoom in/out for 3D graphs controls in Modern -> Graph-> 3D Graph-> Surface, isholding Shift and mouse left button then moving the mouse.

My ultimate goal is run the code on a surface pro tablet which does not have a keyboard or a mouse.

I have been exploring the following and I really appreciate your guidance:

1) change the control gestures of the 3D surface VI instead of being a combination of Keyboard + mouse. For instance, assign the zoom in/out functions to +/- keys or the mouse scrolling for zooming. I have been trying to go this road but could not find a solution.

2) Change the gestures settings in the Surface Pro. I used the Touch me Gestures to change the pich gesture function. However assigning a combination of keyboard and mouse actions to a single gesture was not feasible.

 

I am not sure what is the best way to solve this.

0 Kudos
Message 1 of 2
(2,911 Views)

LabVIEW does not natively support any sort of multitouch.

However you can:
1) Call into the Windows API to get the multi-touch information from the OS (some information here: https://forums.ni.com/t5/UI-Interest-Group-Discussions/Multitouch-in-LabVIEW/m-p/3394330)
2) Use a toolkit that has already done the work for you (https://www.ni.com/en-us/shop/product/touchscreen-toolkit-for-labview.html)


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 2
(2,865 Views)