Comment on Tutorial - Read from a COM port using Java program By Steven Lim



Comment Added by : Frank

Comment Added at : 2010-11-13 13:16:57

Comment on Tutorial : Read from a COM port using Java program By Steven Lim
Hi Johnny,

did you check whether the settings for the COM port are correct? i.e. if

serialPort.setSerialPortParams(9600,
SerialPort.DATABITS_8,
SerialPort.STOPBITS_1,
SerialPort.PARITY_NONE);

matches the settings of your barcode scanner / modem / <insert arbitrary device here> ?

Kind regards
Frank


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. this tutorial is awesome.. solved my doubt in seco
View Tutorial          By: Natasha at 2015-07-29 09:03:42

2. because equals method compares on object reference
View Tutorial          By: mohit s. at 2011-12-24 06:29:35

3. hi all,

i successfully executed the

View Tutorial          By: praveen at 2010-07-14 04:47:41

4. a big thanks!
View Tutorial          By: xamae at 2010-01-13 02:52:51

5. how doeas peek work in a c++ program
View Tutorial          By: odwa at 2008-02-29 02:44:19

6. To determine current location in a file:
{<

View Tutorial          By: Terry at 2009-09-27 13:15:56

7. Like every other Java recursion example, this exam
View Tutorial          By: Uriah at 2010-05-08 18:59:16

8. i am converting from Visualbasic 6 to java web app
View Tutorial          By: Qui at 2010-01-05 07:26:07

9. this code is very usefull but unfortunately, i hav
View Tutorial          By: imenish at 2011-03-24 15:32:43

10. thank you. it was very useful.
View Tutorial          By: ravindar at 2009-01-09 01:04:15