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. I can't get it untill now. I need further explaina
View Tutorial          By: johnlie at 2011-01-19 20:31:09

2. What is meant ClasspathResource why do we use it i
View Tutorial          By: anil kumar at 2008-06-03 05:41:36

3. the best site i have found so far for clearing my
View Tutorial          By: darkknight at 2013-06-05 05:54:10

4. hello sir

i am simulating railway r

View Tutorial          By: karthick at 2008-08-30 03:09:42

5. Thanks alot ,,, it is really more the excellent n
View Tutorial          By: SaraFaqera at 2013-12-16 16:00:07

6. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: Pandiyan at 2015-08-24 08:02:32

7. very good explanation for Include Action in struts
View Tutorial          By: VIshwanath at 2011-03-21 06:00:22

8. hi iam new to java i need simple java programs pls
View Tutorial          By: naga at 2010-10-06 03:45:18

9. This will give the output check it out


View Tutorial          By: shruthi at 2013-01-18 06:00:08

10. hii
i have

two varirables
View Tutorial          By: niranjan at 2012-07-31 06:47:36