AnsweredAssumed Answered

Re2: vrf records and datasets

Question asked by VRFuser on Jun 27, 2008
Latest reply on Jun 27, 2008 by VRFuser
Kevin Nievaart <> wrote:
> Hi Per,

> As more data comes down, I'd like to be able to update the graph with
> the latest values while keeping the first values.  This means that the
> sensors get read, data gets saved to a dataset file, and the entirety
> of the dataset file gets read to produce the graph.

> It is the saving to file, and then reading of the file that is killing me.

Then why save to the file? A dataset is just an array of records so why not just maintain that array in memory rather than writing it to a file for every new point?

You can always write out the array later.

Even if you need to write the file for every datapoint for some reason ( like robustness I suppose ) you can still maintain the whole array in memory. That way you get the image on disk but never have to read from it so your "saving to file, and then reading of the file" becomes "saving to file, but using data already loaded in memory"



Stan Bischof  Agilent Technologies  707-577-3994

You are currently subscribed to vrf as: To subscribe please send an email to: "" with the word subscribe in the message body.
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".
Search the "unofficial vrf archive" at "".
Search the Agilent vrf archive at "".