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. change
for(counter=0;counter<=length-1;l

View Tutorial          By: Dan at 2012-05-28 04:53:14

2. Hi Ramlak,

I tried to use the datab

View Tutorial          By: Braj at 2009-02-07 03:31:13

3. what about (!isset)?? the isset with "!"
View Tutorial          By: bali web design at 2011-04-21 12:51:38

4. can any plz tell me how to create a calculator in
View Tutorial          By: sam at 2010-11-13 06:53:04

5. Can you tught me matrix function and friend functi
View Tutorial          By: Shiv pratap singh at 2013-01-12 06:46:46

6. sir plz give ur sugissions for my golden future in
View Tutorial          By: sridevi at 2012-06-06 10:26:36

7. Why can't you just use an array for something like
View Tutorial          By: Andrea at 2012-10-18 00:17:48

8. One of the best
View Tutorial          By: Sudhir at 2009-12-22 01:45:28

9. Hi,
i executed this program successfully in

View Tutorial          By: Praveen at 2010-07-14 01:05:37

10. please somebody tell me how to run this applicatio
View Tutorial          By: black Panther at 2008-04-01 02:08:09