LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Touch screen : No EVENT_LEFT_CLICK and EVENT_LEFT_CLICK_UP

Hello

 

I have CVI 2013 and for some project I use touch screen on windows 8  or 10.

 

 

When I press a button on the touch screen  I  get  several events , and when I release the button I don’t get an even (EVENT_LEFT_CLICK_UP) .

 

With mouse it work prefect.

 

Do I need to use other events?

 

Please am advice

 

Thank you

Message 1 of 5
(3,611 Views)

Any help?

0 Kudos
Message 2 of 5
(3,594 Views)

I found this other forum thread which seems to contain some relevant information.  

 

http://forums.ni.com/t5/LabWindows-CVI/CVI-touchscreen-compatibility/td-p/239464

 

I suggest trying to use EVENT_COMMIT in place of EVENT_LEFT_CLICK_UP.

0 Kudos
Message 3 of 5
(3,573 Views)

EnableExtendedMouseEvents ();

its req toolbox.fp

 

you will get more event in that

0 Kudos
Message 4 of 5
(3,442 Views)

I have tried the attached on the tablet under Win10. The touchscreen distingueshed EVENT_COMMIT (any touch of control) , EVENT_RIGHT_CLICK (long hold over control), and EVENT_LEFT_CLICK_UP (touch somewhere on the panel and release on the control). (Repeat from above reference)

0 Kudos
Message 5 of 5
(3,196 Views)