LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using touch screen (mouse down to Windows) to activate outputs from DAQ board

Hi,

I am new to NI Labview, first time using it, so please explain as much as possible.

I have a touch screen and was planning to use it to actuate 4 Digital Out (DO) ports independantly on my DAQ card. This touch screen I have, when one presses on the screen, Windows acknowledges it as a Mouse down (the mouse button is pressed) action. The mouse on the screen is also repositioned relative to the dimensions of the touch screen.

I want to start with something simple. There are 4 corners, and 4 DO ports. When I press the the top left of the touch screen, DO port 1 should activate only, when I press the top-right of the touch screen DO port 2 should activate only, and so on.
With this simple (sounds simple) exercise, I should be able to understand Labview a bit more.
Also I want to output a pulse from these DO ports, which ever is selected. I will be using LEDs for this exercise. I have seen the pulse generation examples and will probably use them, but may need some help in transfering and making it function.

Could someone help me out, I would be grateful.

Thanks for any help in advance.
0 Kudos
Message 1 of 3
(2,948 Views)
Search for examples using the Event Structure. Specifically, you can try using the Mouse Down? event. Go thru the Getting Started guide and LabVIEW Fundamentals.

If you are creating a new vi, select New... and from the selections, From Template - Frameworks - Top Level Application Using Events. That will get you going.

B-)
0 Kudos
Message 2 of 3
(2,944 Views)
thanks, i will see what I can do.
i will ask questions later

0 Kudos
Message 3 of 3
(2,931 Views)