LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2 TouchScreens, 1 Labtop --> Which is which in Labview

Hello,

the problem schematic:



I have the touchscreen 1 & the tocuscreen 2, those are connected through a USB-Cable--> UBS_00 & USB_01! On the labtop is a simple VI running with some "touchable" sized buttons!

The Question:

Is it possible to get any information of the USB-Ports activity, flags, RX TX etc. into LabView. Anything what maybe usfull to identify from which touchscreen the activity etc. is?

Or simply said: I wont to know which one of the touchscreens is used, so I can disable the other one!

The disable thing is another problem, but before I can disbale one, I have to know which one is in use?

THX in advance for any suggestions!

Matthias




0 Kudos
Message 1 of 5
(3,017 Views)
Matthias,

What kind of signals do you get from the touchscreens when someone touches them? Coordinates of the point touched?

If so, I would consider putting a "Touch Here to Start" button at different coordinates on each screen.

Lynn
0 Kudos
Message 2 of 5
(3,002 Views)
I'm guessing the touchscreens connect as HID's and they present the exact same image, and you want to catch what HID caused the event?
 
you cold probably do that in LV...or you could configure one HID to always double-tap, and catch that 😉
0 Kudos
Message 3 of 5
(2,996 Views)
Thanks for the answers! Well Thohatsu, your guess was exactly right! Either way would be great, but I don't have the slightest clue where to start catching these events! You or anybody else, may have a  suggestion ?

Thanks for the time!!

Matthias
0 Kudos
Message 4 of 5
(2,986 Views)
In the palettes, look at Connectivity -> Input Device Control.  If the touch screens connect as a standard device, those VIs should pick them up.  This assumes your version of LabVIEW is new enough.  I believe those VIs were introduced 8.0.
0 Kudos
Message 5 of 5
(2,945 Views)