Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 503
  • Last Modified:

Serial programming with USB to RS232 Adapter Problems

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
wgordy
Asked:
wgordy
  • 3
  • 3
1 Solution
 
CEHJCommented:
I think you may have to 'talk USB'
0
 
wgordyAuthor Commented:
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
 
CEHJCommented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
wgordyAuthor Commented:
COM2
0
 
wgordyAuthor Commented:
It shows up in the Ports (COM & LPT) list in the Device Manager.
0
 
CEHJCommented:
Can you show the code you're using to try to connect?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now