Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Real Time Collection and Display of Data by Excel

The requirement is for Excel to collect data from a serial comm port and add
it to a worksheet one line at a time. The data stream is a comma delimited
ASCII text string terminated with a carriage return. The data is from a
laboratory instrument that transmits the results of each test. Can Excel be
used receive data directly from a comm. Port? I currently have a VB app that
collects the data and puts it into a CSV file. Would having Excel
periodically read the CSV file be a better approach?
Best Regards, Steve

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Real Time Collection and Display of Data by Excel

If you have the code for the vbapp, it is highly probably that you can use
that code to create code to read it directly into excel.

--
Regards,
Tom Oiglvy


"Steve Landry" wrote:

The requirement is for Excel to collect data from a serial comm port and add
it to a worksheet one line at a time. The data stream is a comma delimited
ASCII text string terminated with a carriage return. The data is from a
laboratory instrument that transmits the results of each test. Can Excel be
used receive data directly from a comm. Port? I currently have a VB app that
collects the data and puts it into a CSV file. Would having Excel
periodically read the CSV file be a better approach?
Best Regards, Steve

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Real Time Collection and Display of Data by Excel

Thanks Tom,

I had trouble trying that once because it didn't seem like the MSCOMM
control was normally included with the Excel VBA environment. This Excel app
will be sent to customers and I want to avoid doing anything too "custom"
that might give users trouble. I will try however bringing my VB app into
Excel. I do a little VB programming, but never anything in Excel's VBA.

"Tom Ogilvy" wrote:

If you have the code for the vbapp, it is highly probably that you can use
that code to create code to read it directly into excel.

--
Regards,
Tom Oiglvy


"Steve Landry" wrote:

The requirement is for Excel to collect data from a serial comm port and add
it to a worksheet one line at a time. The data stream is a comma delimited
ASCII text string terminated with a carriage return. The data is from a
laboratory instrument that transmits the results of each test. Can Excel be
used receive data directly from a comm. Port? I currently have a VB app that
collects the data and puts it into a CSV file. Would having Excel
periodically read the CSV file be a better approach?
Best Regards, Steve

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Examples of using Bloomberg API / real time data with Excel VBA? John.Greenan Excel Programming 0 April 21st 06 04:00 PM
Excel 2003's autosum does not update data in real time KokWoei Excel Worksheet Functions 2 April 4th 06 05:12 AM
Excel VBA macros and real time data calculations [email protected] Excel Programming 5 July 7th 05 04:43 PM
excel focus problems with custom RTD server (real time data) S Guy Excel Programming 3 February 1st 05 06:24 PM


All times are GMT +1. The time now is 08:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"