09-27-2016 06:08 AM
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.
09-28-2016
06:13 AM
- last edited on
03-14-2024
11:22 AM
by
Content Cleaner
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)