rs232 temperature data read into PC , want to send as email

Apr 01, 2008 4 Replies

I am reading in some temperature sensor data, via RS232 (actually converted to USB via a CP2102 ), approx every hour into a Windows XP PC. It reads fine into Windows Hyperterminal. I want to be able to send this data out via email as it comes it. Is there any application that can do this, free or commerical, please? I have searched using Google but not found anything. Lyndsay Williams

formatting link



snipped-for-privacy@girtonlabs.com


Tcl/tk is a scripting language which runs on most OS/hw combinations, and has a simple serial interface which can read RS-232. Libraries are available which reduce the sending out of an email to a couple of lines based upon tcllib. I'd suggest you look at the ActiveState version of Tcl with batteries included, and refer to the comp.lang.tcl usenet group for assistance.

Oh, and Tk is the included toolkit language which make development of graphical user interfaces dead easy, with portable interfaces which look pretty good owing to the recent (tile) improvements to provide "themeing".

HTH, Rob.

---- Posted via Pronews.com - Premium Corporate Usenet News Provider ----

formatting link
offers corporate packages that have access to 100,000+ newsgroups

formatting link

While expensive, LabVIEW is very easy to do many such complex functions. The link above shows how to send an email. The VISA functions allow reading of a serial channel.

Randy

formatting link

I made the below setup use a vbscript to send email from a simple programming language called just basic. You can run the vbscript with arguments using a batch file.

formatting link

Hi Lyn,

I am not sure how familiar you are with programming, but in C# .net it is very easy to work with the serial port and sending a mail is almost even easier.

Have a look at those articles:

formatting link
It should be a project that can be accomplished in about an hour.

Yours sincerely,

Patrick.

Lyn schrieb:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required