All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Programmer's Corner

Notices

Programmer's Corner Discussion forum for all aspects of programming and software engineering. Any software programming language welcome: C, C++, C#, Fortran, Java, Matlab, etc.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-10-2008, 05:45 AM
shijomts shijomts is offline
New Member
 
Join Date: Dec 2008
Posts: 1
Default RS232 to Excel

How we can access com port and display data from com port usin Microsoft Excel
Reply With Quote
  #2  
Old 12-10-2008, 11:25 PM
beenthere's Avatar
beenthere beenthere is offline
Super Moderator
 
Join Date: Apr 2004
Location: Missouri, USA (GMT -6)
Posts: 13,239
Blog Entries: 10
Default

I don't believe Excel will input a file from the COM port, but a comma delineated text file transferred into the computer can be read and understood by the application. Just recall which folder has the file and open it with Excel.
__________________
First comes the hardware, then the software.
Reply With Quote
  #3  
Old 12-12-2008, 03:24 PM
HellDesk's Avatar
HellDesk HellDesk is offline
New Member
 
Join Date: Dec 2008
Posts: 2
Default

You can add Visual Basic code to Excel sheets. Use that to interface with the computer's serial port.

Won't be easy afaik, because you don't have direct access to the ports in XP/Vista and need extra software for that.
Reply With Quote
  #4  
Old 01-05-2009, 03:49 PM
vivekanantha7 vivekanantha7 is offline
Junior Member
 
Join Date: Dec 2008
Location: Karur, Tamil Nadu, India
Posts: 27
Send a message via MSN to vivekanantha7
Smile

Hi,
This is possible. The thing you should do is to know how to use ODBC Control in VB. After creating ODBC link, you can store any data to Excel even from Serial port.

Visit this link and Get more details of it:
http://www.bigresource.com/VB-plotti...WTWT8R2Eo.html

I will post a Story about this on my blog soon, so visit my blog without forgetting.
__________________

-----------------------------------------------------------------------
Visit My Blog:http://edode.blogspot.com
-----------------------------------------------------------------------
Reply With Quote
  #5  
Old 01-05-2009, 06:28 PM
KL7AJ KL7AJ is offline
E-book Developer
 
Join Date: Nov 2008
Location: North Pole, Alaska
Posts: 1,335
Default

B&B Electronics makes some low cost serial bus DAQ modules that give you delimited data. Once you have that it's a snap to import it into Excel

eric
__________________
REAL men don't need voltmeters.
Reply With Quote
  #6  
Old 01-05-2009, 07:20 PM
leftyretro's Avatar
leftyretro leftyretro is offline
Senior Member
 
Join Date: Nov 2008
Location: Hercules, Ca. (SF Bay Area)
Posts: 394
Default

http://www.selmaware.com/selmaDAQ/home.htm
__________________
Measurement changes behaviour
Reply With Quote
  #7  
Old 01-06-2009, 12:22 AM
vivekanantha7 vivekanantha7 is offline
Junior Member
 
Join Date: Dec 2008
Location: Karur, Tamil Nadu, India
Posts: 27
Send a message via MSN to vivekanantha7
Smile

What you have given is a Complete application, that looks after the Serial port but If we need to design the Basic controls of our own wish, we can go for VC++ or VB with ODBC links.
__________________

-----------------------------------------------------------------------
Visit My Blog:http://edode.blogspot.com
-----------------------------------------------------------------------
Reply With Quote
  #8  
Old 01-06-2009, 05:39 PM
Alberto Alberto is offline
Senior Member
 
Join Date: Nov 2008
Posts: 876
Default

Quote:
How we can access com port and display data from com port usin Microsoft Excel
If I understand correctly, what is needed is to tranfer on an excel sheet some data coming through the serial port. This is not difficult to do if you know visual basic. But you also need to know what kind of string you receive from the serial port, and how you want to order them in the excel sheet.

Alberto
Reply With Quote
Reply   Post New Thread

Bookmarks

Tags
,

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RS232 to RS485 meera Computing and Networks 2 07-16-2008 06:43 AM
Connecting PIC16F877 to Accelerometer and RS232 to Computer CVMichael Embedded Systems and Microcontrollers 3 06-28-2008 12:20 AM
Rs232 Terp General Electronics Chat 5 06-23-2008 07:49 PM
RS232 and RS485 Serial BUS bctang Embedded Systems and Microcontrollers 1 02-20-2008 10:45 AM
Rs232 Cts / Rts monitor change on external device rhebert General Electronics Chat 2 11-06-2007 03:53 AM


All times are GMT. The time now is 11:52 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License. Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.