?
Solved

Serial programming with USB to RS232 Adapter Problems

Posted on 2005-03-12
6
Medium Priority
?
499 Views
Last Modified: 2010-03-31
I have a program that communications with a devices through the serial port using comm.jar. It works fine on a computer with a serial port. I need to run it on a laptop and the laptop doesn't have a serial port. But we have a USB to RS232 Adapter to solve this. We set this adapter up to emulate COM2 so it would be the same as the other computer. I always get the No such port exception no matter which comm port I specify. Is there something wrong with the way this is trying to work with the adapter?

Thanks
0
Comment
Question by:wgordy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 13525707
I think you may have to 'talk USB'
0
 

Author Comment

by:wgordy
ID: 13525866
The adapter comes with a driver and it's support to act like it's a new comm port.  I shouldn't have to do anything with the usb stuff.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 2000 total points
ID: 13525889
Yes OK. If you inspect your hardware devices, what 'comm port' does it announce itself as, if any? Maybe the emulation is only at the application level..?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:wgordy
ID: 13525942
COM2
0
 

Author Comment

by:wgordy
ID: 13525946
It shows up in the Ports (COM & LPT) list in the Device Manager.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 13526590
Can you show the code you're using to try to connect?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question