• C

Accessing digitizer on COM1 port using C/C++

Subject: Accessing digitizer

 Category: C++

 I need to access the serial port (COM1) of my computer, to which a KURTA digitizer is attached.
 Using C, I want to get back the coordinates at which the user has clicked the pick button on the
 digitizer.
 Can anyone provide me the C source code for doing this?

 Thanks in anticipation.
 Sanjay.
adlakhiyaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rbrCommented:
Which OS?
0
syscykCommented:
Does your digitizer come with some kind of API library?  Do you have any documentation on what comes through the serial port when you click?  Without this, you cannot do much.
0
My name is MudSystems EngineerCommented:
If its connected to COM1, you'll need to know the protocol (bauds, parity bits, etc) like you'll do it in the mouse (3 packed bytes), are you sure is the COM1 and not the Game port???

I now how to access the port, but like i say, no protocol, it won't help you that much...
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

rbrCommented:
Any feedback would be fine!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
My name is MudSystems EngineerCommented:
No wonder your number one here...
0
pan_kajCommented:
I too have a similar problem where I need to use a digitizer.
I need to talk to digitizer under MSDOS ver 6.22 or higher
using Turboc C ver. 3.0 compiler.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C

From novice to tech pro — start learning today.