LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get data from tablet pen through USB port to labview front pannel

hi

i am trying to connect my tablet pen to pc through usb port. i need to measure pen position and charector recognisation from tablet using labview.

0 Kudos
Message 1 of 5
(3,051 Views)

I have this problem,too. and I hope one could help us: How can I read pen position on tablet through USB port and labview?

0 Kudos
Message 2 of 5
(2,962 Views)

The pen on a tablet functions like a mouse. You can get the position of the mouse/pen by using the Call library function node (Connectivity -> Libraries and Executables) in the functions pallete. You can use the user32.dll to call the GetCursor method for the pen position.

 

Sahil Singla

Applications Engineer

National Instruments

Regards,

Sahil Singla
Applications Engineer | National Instruments

(Give Kudos to good Answers and Mark it as a Solution if your problem is Solved)
Message 3 of 5
(2,939 Views)

Thank you,But there is a predefined function in labview to get position of courser of mouse, can I use this function to pen?

0 Kudos
Message 4 of 5
(2,912 Views)

Yes, you can. It basically uses the same backhand architecture I mentioned in my last post.

 

Sahil Singla

Applications Engineer

National Instruments

Regards,

Sahil Singla
Applications Engineer | National Instruments

(Give Kudos to good Answers and Mark it as a Solution if your problem is Solved)
Message 5 of 5
(2,890 Views)