The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by pdavila]


Can anyone recommend appropriate .NET assemblies for RS232 communication?

All the RS232 DLLs that I have worked with are for extinct VB and C++

Thanks,

Peter
import-bot (20211) [Avatar] Offline
#2
Re: RS232 Tools
[Originally posted by alan]

I've played with RS232 communications under .NET, unfortunately I found myself
having to go down to the Win32 level.

There's an article in MSDN titled Visual Basic .NET Code Sample: Using the
Comm Port that might help.
import-bot (20211) [Avatar] Offline
#3
Re: RS232 Tools
[Originally posted by pdavila]


Eric,

Thanks for the info. I have started going through the code. It doesn't look
too difficult. I may either rewrite it or try to extend the code described in
the MSDN article.

Thanks,

Peter
import-bot (20211) [Avatar] Offline
#4
Re: RS232 Tools
[Originally posted by ekinated@hotmail.com]

>
> Can anyone recommend appropriate .NET assemblies for RS232 communication?
>
> All the RS232 DLLs that I have worked with are for extinct VB and C++
>
> Thanks,
>
> Peter

If your familiar with the Win32 API for accessing a serial port, the following
article from MSDB magazine would be a good start:

Serial Comm
Use P/Invoke to Develop a .NET Base Class Library for Serial Device
Communications
http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx