469,658 Members | 1,816 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,658 developers. It's quick & easy.

Java and Hand Scanner

Hi,

I am a beginner and I am working on an Airport Project now.
I need Java to read data from the hand Scanner connected to COM1.

Bits per second is 9600,
Data bits is 8.

Do you know which Class I should use?
and maybe even some examples?

Thanks for your help!

May 16 '07 #1
2 1789
<pr********@hotmail.comwrote:
I am a beginner and I am working on an Airport Project now.
I need Java to read data from the hand Scanner connected to COM1.

Bits per second is 9600,
Data bits is 8.

Do you know which Class I should use?
and maybe even some examples?
I suggest you ask on a Java newsgroup instead of a C# one.

Having said that, see http://java.sun.com/products/javacomm/

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
May 16 '07 #2
<pr********@hotmail.comwrote in message
news:11*********************@n59g2000hsh.googlegro ups.com...
Hi,

I am a beginner and I am working on an Airport Project now.
I need Java to read data from the hand Scanner connected to COM1.

Bits per second is 9600,
Data bits is 8.

Do you know which Class I should use?
and maybe even some examples?

Thanks for your help!
If you are using Java you might find better help in a Java newsgroup.

I imagine that most modern hardware probably comes with drivers - your best
bet is to look for a documentation that the hardware comes with.

I have written 4 libraries for communicating with serial devices - and if
the only information that you have available is what you posted here in the
NG - then I dare say you are in trouble!

--
LTP

:)
May 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Andrew Bell | last post: by
4 posts views Thread by NickiWood | last post: by
2 posts views Thread by blitz1989 | last post: by
4 posts views Thread by chetah | last post: by
6 posts views Thread by paradox6996 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.