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



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. You may add STAX parser example also to complete t
View Tutorial          By: Satyam Jaiswal at 2014-11-25 05:48:59

2. I dont know the reason why have a exception!

View Tutorial          By: Nguyen Tien Viet at 2008-04-05 06:01:50

3. Hi puru, The syntax is substring(int startIndex, i
View Tutorial          By: Fazal at 2008-09-12 20:17:53

4. Very good example! Thanks so much!
View Tutorial          By: Chrissy at 2010-04-14 22:37:56

5. It's simply nice.
View Tutorial          By: ghani at 2011-07-01 07:18:35

6. This isn't entirely correct. A class can be abstra
View Tutorial          By: Jay at 2013-01-30 14:52:15

7. Clear explaination..Thank You Sir...
View Tutorial          By: nishanth at 2014-06-16 08:58:04

8. any one help i want to create servermail apllicati
View Tutorial          By: Nouman at 2014-10-28 05:10:15

9. great work
View Tutorial          By: Bhaskaran at 2013-01-21 11:23:19

10. You can have a look at the tutorial written by Era
View Tutorial          By: John Berger at 2011-03-26 09:24:22