locked
Making RS232 and similar services RRS feed

  • Question

  • Hi all....

    I wanted to make a General RS232 service for MSRDS.... in VPL style, where you can set the parameters you want, like hand shaking, TTL, port selection, Array, Buffers, COM #, etc. A service were you just connect your MSRDS app., and let the RS232 service handle the communications for you, to connect to any RS232 or USB to RS232 adapter.

    Is this possible or not?

     

    Wednesday, August 24, 2011 6:39 PM

Answers

  • This example might be what you need written by Trevor Taylor

     

    http://msdn.microsoft.com/en-us/magazine/ee309885.aspx

     

     

    Thursday, August 25, 2011 2:31 PM
    Moderator
  • We are working on a Serial Port service for the next release of RDS which will be available shortly.

    Unfortunately, it is difficult to generalize serial port communications because of the wide variety of protocols that exist. For example, some protocols require fixed-length messages (packetized serial) and others are free format. Some protocols were written with a human user in mind so they are very verbose but easy to read and easy to generate messages just by typing into a terminal emulator window. One consequence of this is that you sometimes just have to write your own service, e.g. one that automatically does checksums or other error handling.

    Hopefully the new Serial Port service will address your needs.

    Trevor

     

    Saturday, August 27, 2011 9:10 PM

All replies

  • This example might be what you need written by Trevor Taylor

     

    http://msdn.microsoft.com/en-us/magazine/ee309885.aspx

     

     

    Thursday, August 25, 2011 2:31 PM
    Moderator
  • Thanks or the Info. jodonnell, very helpfull. :)
    Thursday, August 25, 2011 4:33 PM
  • We are working on a Serial Port service for the next release of RDS which will be available shortly.

    Unfortunately, it is difficult to generalize serial port communications because of the wide variety of protocols that exist. For example, some protocols require fixed-length messages (packetized serial) and others are free format. Some protocols were written with a human user in mind so they are very verbose but easy to read and easy to generate messages just by typing into a terminal emulator window. One consequence of this is that you sometimes just have to write your own service, e.g. one that automatically does checksums or other error handling.

    Hopefully the new Serial Port service will address your needs.

    Trevor

     

    Saturday, August 27, 2011 9:10 PM