Print

Print


PS: It would not be difficult to add a "force flush" button (or in more
user-friendly terminology, a "data file has been updated, please refresh
the display" button).

Wayne

On Fri, 21 Sep 2007, Wayne Boucher wrote:

> Tough question!  The contouring caches data from disk, and in general the
> data will not automatically be refreshed if you change the actual contents
> of the data file on disk, so the new data will not be displayed until the
> old data has been flushed from the cache (which happens when the cache
> memory has run out and this data happens to be the one chosen to be
> flushed).  This is not predictable.  There is no way (currently) for the
> user to force a flush specifically in this situation.
>
> *But* if any of the relevant bits of the data model have changed (e.g. the
> data file location, the referencing, the endianess, etc.) then the
> flushing is done automatically.  It's just if the actual data in the
> specified file is changed without anything else changing that we have a
> problem (because that is not detectable in the API).  So one option is
> just to put the new data in a new file and update the file location (Edit
> Spectra --> File Details button).  That should work (and if it doesn't we
> want to know about it!).
>
> Wayne
>
> On Fri, 21 Sep 2007, Jeremy Craven wrote:
>
> > What happens in Analysis if the spectrum on the disk changes (e.g. is
> > reprocessed, or rereferenced) ? Does it need reopening ?
> >
> > Cheers
> >
> > Jeremy
> >
> > --
> > *********************************************************************************
> >
> > Dr C. Jeremy Craven
> > Department of Molecular Biology and Biotechnology
> > University of Sheffield,
> > Firth Court, Western Bank
> > S10 2TN Sheffield UK
> >
> > e-mail: [log in to unmask]
> > http://www.nmr.group.shef.ac.uk/CJC.html
> >
> > Phone:                       x24323
> > >From outside Sheffield:      0114 222 4323
> > >From outside UK:             +44 114 2224323
> > Fax:                         0114 272 2800
> >
> > *********************************************************************************
> >
>