Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

VB.net, redirecting port to an IP address, won't connect.

  • 18-03-2010 04:28PM
    #1
    Registered Users, Registered Users 2 Posts: 1,204 ✭✭✭


    I have my program going at the moment and it's reading data from my instrument fine through the RS-232 port.

    What I want to do now is have my instrument connected to an RF Modem by RS-232, pick that signal up on a second RF Modem which is connected to a network and then read that signal into VB.net to process it the same way I did when the instrument was directly connected to my pc.

    This works fine when I use a second pc with Hyper Terminal and I can "chat" back and forth. But when I try to connect with VB.net using "serialport.open" I get the same message box I got from Hyper Terminal but it just disconnects straight away.

    Any ideas what the cause of this could be?

    EDIT: I'm using the MaxStream software that came with the RF Modems that included a Com Port Redirector which is mapped to the IP address of the ethernet modem, this is on Com2 on my pc while the regular serial port is Com1.


Advertisement