473,326 Members | 2,124 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,326 software developers and data experts.

read/write string from a serial port using C#

I have to writen application in C# that can read or write data from a serial port.
Can you please send any code that can help me for that. Or even material that can help me understanding this.
Kindly do guide me through any tutorial,help book or even sugestion to initiate this project.
Your kind guidence means alot to me .
Jul 31 '07 #1
5 8136
r035198x
13,262 8TB
I have to writen application in C# that can read or write data from a serial port.
Can you please send any code that can help me for that. Or even material that can help me understanding this.
Kindly do guide me through any tutorial,help book or even sugestion to initiate this project.
Your kind guidence means alot to me .
Moved to .NET forum
Jul 31 '07 #2
Plater
7,872 Expert 4TB
Check out this thread for some sample code:
http://www.thescripts.com/forum/thread685229.html
Jul 31 '07 #3
bartonc
6,596 Expert 4TB
Moved to .NET forum
This is the second time that I've seen admins (Mary and r035198x) move threads without leaving a redirect. Perhaps your defaults are different than mere moderators or maybe there is a good reason for doing so. I just feel sorry for the poor member with only one post, not knowing their way around the site, returning to find a "missing post". That's all.
Jul 31 '07 #4
Plater
7,872 Expert 4TB
That is what Control Pannel is for, to see all the recent activity on posts (subscribed)
OR check under your user profile where it says "Find all threads started by <username>".
It would be nice to see it I suppose, but I view it as rather worthless since more then 20 questions get posted everyday. (I see probably a good 30 new threads a day, just in the .NET section), thus making the thread hard to find regardless as it gets bumped down.

This is the second time that I've seen admins (Mary and r035198x) move threads without leaving a redirect. Perhaps your defaults are different than mere moderators or maybe there is a good reason for doing so. I just feel sorry for the poor member with only one post, not knowing their way around the site, returning to find a "missing post". That's all.
Jul 31 '07 #5
r035198x
13,262 8TB
This is the second time that I've seen admins (Mary and r035198x) move threads without leaving a redirect. Perhaps your defaults are different than mere moderators or maybe there is a good reason for doing so. I just feel sorry for the poor member with only one post, not knowing their way around the site, returning to find a "missing post". That's all.
Sorry Barton, I usually only leave a redirect if the thread was in the introductions forum only. I'll try to add the Software and Misc to that list as well.
Jul 31 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: collinm | last post by:
hi we use linux and c language under bash i do echo -e \\000\\000\\000\\000\000\\001Z00\\002AA LINUX \\004 >/dev/ttyS2 that send command to a led display (alpha sign communication)
3
by: collinm | last post by:
hi i send a command to a led display, the led display is suppose to return me some character i write a string on a serial port void ledDisplayExist() { char msg={'\0', '\0', '\0', '\0',...
17
by: luca72 | last post by:
Hello at all sorry for my english but i'm Italian. I use pyserial to communicate via rs232 with an extarnal device called smartmouse. I write the exact line that i want , but when i read i read...
0
by: daikeechi | last post by:
hello guys .. i want to perform pc to pc chatting via null modem cable.. i managed to write and sent data to serial port but how to write loops to read data from serial port ? i'm using visual c++...
4
by: rowan | last post by:
I'm writing a driver in Python for an old fashioned piece of serial equipment. Currently I'm using the USPP serial module. From what I can see all the serial modules seem to set the timeout when...
0
by: darkking | last post by:
Ok, I'm trying to read data from the serial port. Problem is, that i always have to query the port for new data, and in 99.9% of acses my query doesn't return the result cause of the fact it's...
0
by: ghjk | last post by:
I want to read sms from GSM modem using C# in serial communication. I wrote the code. But i want to do it automatically. I put my code here and please tell me how can i do it automatically. ...
1
by: ghjk | last post by:
I'm write code to read data from GSM modem. but it couldn't read modem response. Could you please help me? I'll post my code. using System; using System.Collections.Generic; using...
2
by: mmrasheed | last post by:
Hi, I am newbie in python. I am working on Telit GM862 GPS/GPRS module which has python interpreter built in. But it seems this problem is pretty much related to general python structure. I...
1
by: rfarley | last post by:
Hi, I am using the pyserial module and am trying to read the serial port from an accelerometer (LIS302DL). It has an option in which you write "*debug\r\n" and then you read the data (three...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.