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. help me for learning to programing with java

View Tutorial          By: hemn at 2008-11-25 03:12:19

2. This is an old method although it works. The bette
View Tutorial          By: Emiley at 2013-01-11 03:56:02

3. I tried this with HttpUnit (using the custom Hostn
View Tutorial          By: Michael Gower at 2012-01-04 17:40:00

4. Very easy and simple to understand....good article
View Tutorial          By: Ashish at 2009-10-07 00:58:08

5. tis s very useful and easy to capture all persons
View Tutorial          By: Divya at 2013-12-19 05:42:32

6. Awsome...Example...
View Tutorial          By: sitakanta at 2011-12-05 12:22:03

7. introduction is very clear i get wat answer i want
View Tutorial          By: kalyan at 2013-07-02 09:23:40

8. Gracias. Ya me estaba poniendo nervioso. No pod&ia
View Tutorial          By: Manuel at 2015-07-30 11:34:54

9. Nice explanation. And a good example to back it up
View Tutorial          By: fazil at 2009-07-29 00:32:03

10. thank you very much...
Explained in a simpl

View Tutorial          By: vineela at 2013-02-18 10:29:08