<p>This is strange. We've been doing real time dirfiles all summer under Linux with no troubles.</p>
<p>Do you have the vectors in 'count from end'?<br></p>
<p>C. Barth Netterfield<br>
University of Toronto <br>
416-845-0946</p>
<p>On Aug 15, 2010 4:56 PM, "Peter Kümmel" <<a href="mailto:syntheticpp@gmx.net">syntheticpp@gmx.net</a>> wrote:<br type="attribution">> Am Sonntag, den 15.08.2010, 15:44 +0100 schrieb Peter Milne:<br>
>> Data source is a DirFile that gradually grows in time.<br>>> <br>>> <br>>> Plotting this with kst 1.8 (FC), the plot updates at a respectable rate.<br>>> <br>>> Plotting with kst 2.0 results in a static plot, FC or MS-Win, it's <br>
>> necessary to press the RELOAD button to get a new update.<br>>> <br>>> Is this a feature that hasn't been activated yet in kst 2.0?.<br>>> <br>>> The parameter Settings|General|Update-ms looks promising, but doesn't <br>
>> seem to have an effect.<br>>> <br>>> What should drive this update - is it a timer in KST or perhaps a event <br>>> (like inotify) from the OS?.<br>>> <br>> <br>> Looks like a bug. <br>
> <br>> There is a QFileSystemWatcher which should trigger an update,<br>> DirFileSource::init() in dirfilesource.cpp:<br>> <br>> _watcher = new QFileSystemWatcher();<br>> if (_fieldList.count() > 1) {<br>
> QString filePath = _dirfile->ReferenceFilename();<br>> _watcher->addPath(filePath);<br>> }<br>> connect(_watcher, SIGNAL(fileChanged ( const QString & )), this, SLOT(checkUpdate()));<br>> connect(_watcher, SIGNAL(directoryChanged ( const QString & )), this, SLOT(checkUpdate()));<br>
> <br>> Maybe Barth knows immediately what's going wrong.<br>> <br>> Peter<br>> <br>> _______________________________________________<br>> Kst mailing list<br>> <a href="mailto:Kst@kde.org">Kst@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/kst">https://mail.kde.org/mailman/listinfo/kst</a><br></p>