Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

raed from serial port 1

Status
Not open for further replies.

chanel86

Electrical
Aug 27, 2007
14
Dear all

i 've raed thread236-63628 talking about reading data from RS232 serial port.

for me all i need is to be able to read information from temperature devices or pressure sensor etc.. using RS232 and store it and plot information into charts is that a difficult to do?

usually information we get is for exempl the tempreture in a definitive time.

so do you have any idea?

chanel

ModonGroup S.a.r.l
 
Replies continue below

Recommended for you

sorry writing error

read not raed !!!



ModonGroup S.a.r.l
 
You would need the information on the communucation protocol from the manufacturers. RS232 is the wiring but doesn't define the actual message structure.
 
DEAR MIKEK10,
THANKS FOR YOUR QUICK REPLY

I KNOW IT'S A WIRING BUT WHEN I CONNECT THE TEMPRETURE SENSOR USING rs232 I VIEW DATA IN HYPERTERMINAL BUT IN THIS SITUATION I CAN BENEFIT FROM THEM I NEED TO SORT THESE DATA SAVE THEM IN TABLE ,OVER 24 HOURS EX:

10:00 10:05

25 DEGRE 30 DEG.


SO IN THIS CASE I CAN CREATT A CHART .

IS THAT POSSIBLE ?



ModonGroup S.a.r.l
 
The easiest solution might be to write a small program to read the input from the serial port and save it to a file. Visual Basic would probably be the easiest too to use for this purpose. It has 'plug ins' to access the serial ports which will take most of the effort out of the task.

Of course, this assumes that you can either do some simple programming, nothing that would requrie a CS degree.

 
If you're going to be plotting graphs, it would be pretty easy to do this in Microsoft Excel using VBA. Excel has a lot of graphing capability built in. Reading the serial port is not too difficult, depending on your software experience. There's some fairly detailed info at:
 
Thank you all,

i'll try ur ideas and i'll send what's happennnig with me

chanel

ModonGroup S.a.r.l
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor