Results 1 to 14 of 14

Thread: Is VS2010 handling serial communication any better?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    3

    Is VS2010 handling serial communication any better?

    We have a program that handle RS-232 and RS-485 serial communication for data logging and considering to migrate to the newer VB from VB2002. To my understanding we will need to rewrite the communication parts with the new .Net.

    Should we choose VS2008 or wait for VS2010?

    Thanks for any help in advance.
    Alex

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Is VS2010 handling serial communication any better?

    Hey,

    I think this question might be better asked in the General Developer Forum, no?

    Gary

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Is VS2010 handling serial communication any better?

    Quote Originally Posted by gep13 View Post
    I think this question might be better asked in the General Developer Forum, no?
    Yes...Moved

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Is VS2010 handling serial communication any better?

    Hey,

    I would recommend that you download the Express Edition of each one, 2008 and 2010, and see which one best suits your needs.

    Bear in mind that 2010 is still in Beta, and not due for release until April this year.

    Gary

  5. #5
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Is VS2010 handling serial communication any better?

    The SerialPort in 2008 seems to be very stable. What is the general structure of how you handle serial communications today?
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  6. #6
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: Is VS2010 handling serial communication any better?

    I don't think there is any changes to the SerialPort object from 2008 to 2010. Regardless, I've done some highly complex streaming things with the SerialPort in 2008 and it's perfectly fine.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  7. #7
    Fanatic Member
    Join Date
    Sep 2009
    Location
    Lakewood, Colorado
    Posts
    621

    Re: Is VS2010 handling serial communication any better?

    AFAIK, there are no changes for VS2010. What problems are you seeing? Perhaps these should be addressed.
    Richard Grier, Consultant, Hard & Software
    Microsoft MVP (Visual Basic)

  8. #8

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    3

    Re: Is VS2010 handling serial communication any better?

    Thank you all for the reply.

    We don't have any experience using SerialPort class yet but are interested to know more before making any major programming platform upgrade.

  9. #9
    Fanatic Member
    Join Date
    Sep 2009
    Location
    Lakewood, Colorado
    Posts
    621

    Re: Is VS2010 handling serial communication any better?

    What do you want to know? Its use is fairly straight forward. I have a description (and example code for a number of applications) of its use in my book, Visual Basic Programmer's Guide to Serial Communications 4. If you have specific questions, feel free to ask them, and I or someone else here will try to address them.
    Richard Grier, Consultant, Hard & Software
    Microsoft MVP (Visual Basic)

  10. #10

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    3

    Re: Is VS2010 handling serial communication any better?

    Thanks, Richard. We actually have your 3rd edition publication.

    We will check out the book.
    Last edited by alexlyf; Jan 27th, 2010 at 02:24 AM.

  11. #11
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Is VS2010 handling serial communication any better?

    Hey,

    Since you are new to these versions of Visual Studio, I would really recommend that you give each of them a try, you are not going to lose anything, as they are both free. Download them and install them, they can be installed on the same machine.

    Gary

  12. #12
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: Is VS2010 handling serial communication any better?

    Yes, Richard's book is invaluable. We got a copy as well. If you're doing any kind of complex serial communications, it's the codex on the matter.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  13. #13
    Fanatic Member
    Join Date
    Sep 2009
    Location
    Lakewood, Colorado
    Posts
    621

    Re: Is VS2010 handling serial communication any better?

    Hi,

    The 4th includes a complete discussion of the built-in serial port object, along with examples that use it (and examples that employ other serial support that isn't included in the 3rd Edition). You may want to consider getting a more recent copy. Still, feel free to ask specific questions.

    Dick
    Richard Grier, Consultant, Hard & Software
    Microsoft MVP (Visual Basic)

  14. #14
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Is VS2010 handling serial communication any better?

    There was a HUGE improvement in serial processing between 2003 and 2005. I never used 2002, but I did use 2003 for serial work, and it was pretty bad. I have also written serial handling for 2005, and it was quite a considerable improvement (since serial handling wasn't directly supported in 2003, nearly anything was a considerable improvement). I don't know if there has been a change with 2008, but for RS-232, things got good back in 2005.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width