On 23 Nov 2006 05:52:49 -0800,
(E-Mail Removed) proclaimed to
the world:
>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?
I had this problem and solved it a bit differently which worked in my
application. It might spark an idea you can use within the
spreadsheet. I linked a spreadsheet field to the data as you have
letting it update constantly. I had one field for live force data and
another for live position data. I wanted to take a force reading when
the position field reached a value. I was gathering data for a xy
graph. I wanted 10 points evenly spaced between say 1 and 100 cm, so I
triggered a force read at 10, 20,30 etc. I wrote a formula that read
something like If A1(position instantaneous) =A2(trigger) then
A3=A4(force instantaneous) and A5=A1. This formula was copied down
rows for each value I wanted the capture.
I had to fine tune the thing to get what I wanted. For instance if the
position changed so fast as to never read 10, then you would not
capture a force reading at that position. I cured this by making the
formula a range of values. I added the ability to fill in the trigger
points automatically and an external trigger for the start of the test
and a timer to time out if the test did not complete within some
value. One the last point was captured, I had that event trigger a
save command. These spreadsheets were used as test reports in a
factories QA Lab. No third party software was used. The data came from
an internal IO card. It worked amazingly well. As long as the computer
was running, all the operator had to do is push a hard switch to start
the test. He did not even have to have the monitor on. It was idiot
proof.