Link to home
Start Free TrialLog in
Avatar of adlakhiya
adlakhiya

asked on

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.
Avatar of rbr
rbr

Which OS?
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.
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...
ASKER CERTIFIED SOLUTION
Avatar of rbr
rbr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No wonder your number one here...
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.