473,396 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

RS232 communication

Any sample program for rs232 communication?
Nov 16 '05 #1
2 3544
Have a look at http://www.codeproject.com/dotnet/DotNetComPorts.asp

This wraps the Win32 api, .NET 2.0 should include serial communication
support.

Chris

"AlirezaH" <al******@abcgrp.com> wrote in message
news:eI**************@TK2MSFTNGP09.phx.gbl...
Any sample program for rs232 communication?

Nov 16 '05 #2
What kind of implementation are you looking for? A SerialPort class
exists within .NET Framework 2.0 and by downloading Visual C# Express
Beta you can get that. Of course, the words Express and Beta might be
showstoppers for using within a commercial product, but I was able to
quickly type up an RS232 terminal using just classes within the new .NET.

For implementations under 1.1, the CodeProject file mentioned by
Christopher Kimbell is a good example, another one is using a commercial
library (http://www.moskalyuk.com/blog/archives/000205.html) and yet
another free one exists on GotDotNet
(http://www.gotdotnet.com/Community/U...-93391fc4c196).

Alex Moskalyuk
AlirezaH wrote:
Any sample program for rs232 communication?

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: nchap99 | last post by:
hello, Does anybody know if Microsoft Dot Net supports the RS232 type of connection. As far as I know Visual basic 6 supports RS232 connection format. Thanks,
6
by: Przemo | last post by:
Hi, Do you know some good RS232C class? There is one in VB.NET 101 Examples, but I think it is poor. 1. I can't for e.g. read into my application all data received. I must tell how many...
0
by: Stefan | last post by:
The WIN32 API function 'GetCommConfig' Can be used to retrieve the Configuration settings. It is defined as follows structure COMMCONFIG { int dwSize; short wVersion; short wReserved; DCB dcb;...
4
by: Jan | last post by:
Hello people, Can somebody tell where I can find a good site for info about rs232 communication with VB.net. TIA
2
by: KCUK | last post by:
I have created a software to receive data from an equipment through RS232 communication. It is a simple application of the RS232 class. The software does receive strings from the equipment every time...
0
by: kvu95111 | last post by:
Hi All, I have wrote a simple program using RS232 protocol. However, I have the following problem in hand. I used the software to receive data from a RFID reader (you may simply treat it like a...
0
by: Sleurhutje | last post by:
Hi, I need to write an app in VS2005 VB.NET that communicates with a Siemens TC65 GSM Terminal. The app that does the outside is OK but communicating with RS232 is a bit of a problem. Sometime...
0
by: soniyaperuma | last post by:
hi, i am doing project on communication protocols ,i want a code in vb for pc to pc communication using rs232,if any one know please send it to me including form for the code thank you.
2
by: tiynkaran | last post by:
Hi, Could anybody answer my question I tried to capture unknown rs232 format contant by using vb6 mscomm1 with the setting of 9600,n,8,1 result getting is fun charactors. Expecting ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.