LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming,sci.engr.control
external usenet poster
 
Posts: 1
Default Consuming DDE and providing XML

SCENARIO

A factory production line uses RSLINX software to gather data from PCI
cards and expose it through DDE.

An Excel spreadsheet consumes this via Copy and Paste of the link from
RSLINX.

This spreadsheet is then saved in XML format.

This XML file is in turn consumed by a web page that displays the data
gathered by the RSLINX software. The web page is set to refresh at 30s
intervals.

PROBLEM

The Excel spreadsheet is updated in real time (you can see the numbers
change as the data is pumped in by RSLINX), but of course the XML file
is not updated until the file is saved, so the data on the web page is
not updated unless and until the spreadsheet is saved.

The client obtained a cheap "autosave" Excel plug-in to save the
spreadsheet periodically, but it doesn't work reliably.

DESIRED SOLUTION

Remove the Excel middleware and replace it with an applet that will
consume the DDE data directly and transform it into the XML file
required by the web page. I was thinking of a windows service or
something similar. They don't want a console application/scheduled
task solution. The budget is TINY.

ACCEPTABLE SOLUTION

A reliable means of saving the XML file periodically. The most
important word in that sentence is "reliable". A background timer in a
macro? A save triggered by a cell's Change event firing?

 
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
Extreme, time-consuming processing GARY Excel Discussion (Misc queries) 0 February 25th 08 03:24 PM
Calculate Cells - Time consuming! Braindeadbeachbum Excel Programming 1 February 14th 06 02:05 PM
Consuming a web service in Excel 2003 that requires a certificate [email protected] Excel Programming 0 October 12th 05 01:18 PM
Resource / Time consuming macro Bryan[_7_] Excel Programming 2 July 29th 04 02:04 AM
Consuming excel events in C# Matthew Connor Excel Programming 1 July 25th 03 01:50 PM


All times are GMT +1. The time now is 08:05 AM.

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"