Mouse Down Event Does Not Work With Touchscreen Monitor With LabVIEW

Updated Feb 27, 2024

Reported In

Hardware

  • Touch Screen Monitor

Software

  • LabVIEW

Issue Details

I am using a touchscreen monitor as a user interface and I have an application which uses an event structure. I want the events to be activated on a mouse down action. The mouse down event works as expected when I use a physical mouse, however when I press the same control (button) on the touch panel with my finger the mouse down event is only generated when I release my finger from the screen. Mouse up event works as expected with and without a physical mouse. I am using a non-NI touchscreen.

Solution

LabVIEW does not have any touch interface capabilities built into it, what happens is that the OS handles the touch to mouse pointer conversion and sends it over to LabVIEW. Sometimes the third party touchscreen driver does not register as a pointing device and hence cannot work as a mouse. Some manufacturers have their own specific drivers which can change the behaviour of the touch panel. Please contact the software manufacturer of the third party touch panel to get the drivers.

Additional Information

The following are some workarounds that can be used to improve the touch events handling with a LabVIEW application:
  • For Windows 7, you can follow these steps which have been submitted to the ideas exchange as a workaround so that the pointer behaves as a conventional mouse:
  1. Go to Windows Start >> Device Manager 
  2. Find your touch screen monitor and double click on it 
  3. Go to Drivers tab and press Disable - this will disable the drivers. 
  4. Reboot the computer