LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

touchscreen control

I have an application that uses a touchscreen. In this application I can have up to 4 channels of data acq. running at once. These 4 channels are tiled on the screen in a 2x2 pattern. Each channel displays a waveform and a few indicators and controls. I want the operator to be able to adjust the settings of any of the channels by simply touching any part of the front panel of the channel he wants to adjust. Has anyone done this? Thanks in advance.
 
Paul
7.1.1
PaulG.
Retired
0 Kudos
Message 1 of 3
(2,801 Views)
In the past I have done this by using a transparent button over each area that I want active. Here, I assume that the touch screen appears to the OS as a mouse. With the newer versions of LabVIEW you might use the event structure to capture the appropriate event.
Message 2 of 3
(2,786 Views)
One very important thing to note is that whichever way you choose (controls or mouse down events), you should make your sensitive areas big, especially in the vertical dimension. Touch screens are often not very precise when it comes to clicking on a specific pixel, even more so if people use their fingers and not a stylus.

___________________
Try to take over the world!
Message 3 of 3
(2,760 Views)