<html><head></head><body><div>...and this was it indeed: changing the RequestInformation function in my strip-down example to the following solves the problem:</div><div><br></div><div>
<pre><!--StartFragment--><span style=" color:#808000;">int</span><span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">vtkTestTTSource</span>::<span style=" font-weight:600; font-style:italic; color:#00677c;">RequestInformation</span>(<span style=" color:#800080;">vtkInformation</span>*<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">request</span>,</pre>
<pre><span style=" color:#c0c0c0;">                                        </span><span style=" color:#800080;">vtkInformationVector</span>**<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">inputVector</span>,</pre>
<pre><span style=" color:#c0c0c0;">                                        </span><span style=" color:#800080;">vtkInformationVector</span>*<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">outputVector</span>)</pre>
<pre>{</pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#808000;">if</span>(!<span style=" color:#800080;">Superclass</span>::<span style=" font-style:italic; color:#00677c;">RequestInformation</span>(<span style=" color:#092e64;">request</span>,<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">inputVector</span>,<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">outputVector</span>))</pre>
<pre><span style=" color:#c0c0c0;">        </span><span style=" color:#808000;">return</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">0</span>;</pre>
<pre><br></pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#008000;">//</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">tell</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">the</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">caller</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">that</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">we</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">can</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">provide</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">time</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">varying</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">data</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">and</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">specify</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">the</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">range</span></pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#808000;">double</span><span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">tRange</span>[]<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>{<span style=" color:#000080;">0.</span>,<span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">1.</span>};</pre>
<pre><br></pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#008000;">//</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">generate</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">a</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">vector</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">with</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">the</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">steps</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">-</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">from</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">0</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">to</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">numSteps</span></pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#800000;">Steps</span>.<span style=" color:#00677c;">resize</span>(NumSteps<span style=" color:#c0c0c0;"> </span>+<span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">1</span>);</pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#808000;">for</span>(<span style=" color:#808000;">int</span><span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">s</span><span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">0</span>;<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">s</span><span style=" color:#c0c0c0;"> </span><=<span style=" color:#c0c0c0;"> </span>NumSteps;<span style=" color:#c0c0c0;"> </span>++<span style=" color:#092e64;">s</span>)</pre>
<pre><span style=" color:#c0c0c0;">        </span><span style=" color:#800000;">Steps</span>[<span style=" color:#092e64;">s</span>]<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>(<span style=" color:#808000;">double</span>)<span style=" color:#092e64;">s</span><span style=" color:#c0c0c0;"> </span>/<span style=" color:#c0c0c0;"> </span>(<span style=" color:#808000;">double</span>)NumSteps;</pre>
<pre><br></pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#008000;">//</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">tell</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">it</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">to</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">the</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">information</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">objects...</span></pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#808000;">for</span>(<span style=" color:#808000;">int</span><span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">n</span><span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">0</span>;<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">n</span><span style=" color:#c0c0c0;"> </span><<span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">2</span>;<span style=" color:#c0c0c0;"> </span>++<span style=" color:#092e64;">n</span>)</pre>
<pre><span style=" color:#c0c0c0;">    </span>{</pre>
<pre><span style=" color:#c0c0c0;">        </span><span style=" color:#800080;">vtkInformation</span>*<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">info</span><span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">outputVector</span>-><span style=" color:#00677c;">GetInformationObject</span>(<span style=" color:#092e64;">n</span>);</pre>
<pre><span style=" color:#c0c0c0;">        </span><span style=" color:#092e64;">info</span>-><span style=" color:#00677c;">Set</span>(<span style=" color:#800080;">vtkStreamingDemandDrivenPipeline</span>::<span style=" color:#00677c;">TIME_RANGE</span>(),<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">tRange</span>,<span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">2</span>);</pre>
<pre><span style=" color:#c0c0c0;">        </span><span style=" color:#092e64;">info</span>-><span style=" color:#00677c;">Set</span>(<span style=" color:#800080;">vtkStreamingDemandDrivenPipeline</span>::<span style=" color:#00677c;">TIME_STEPS</span>(),<span style=" color:#c0c0c0;"> </span><span style=" color:#800000;">Steps</span>.<span style=" color:#00677c;">data</span>(),<span style=" color:#c0c0c0;"> </span><span style=" color:#800000;">Steps</span>.<span style=" color:#00677c;">size</span>());</pre>
<pre><span style=" color:#c0c0c0;">        </span><span style=" color:#092e64;">info</span>-><span style=" color:#00677c;">Set</span>(<span style=" color:#00677c;">CAN_HANDLE_PIECE_REQUEST</span>(),<span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">1</span>);</pre>
<pre><span style=" color:#c0c0c0;">    </span>}</pre>
<pre><br></pre>
<pre><span style=" color:#c0c0c0;">    </span><span style=" color:#808000;">return</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">1</span>;</pre>
<pre>}</pre>
<pre><br><!--EndFragment--></pre></div><div>Sorry for all who wasted time for a problem that I have finally solved by my own!</div><div><br></div><div>But still thanks for serving me as a "mirror" for the problem...</div><div><br></div><div>With kind regards,</div><div>Cornelis</div><div><br></div><div>Am Montag, den 22.01.2018, 16:19 +0100 schrieb Mathieu Westphal:</div><blockquote type="cite"><div dir="ltr"><div><div><div><div><div><div><div>Hello Cornelis<br><br></div>I've tested quickly the supports of table and time steps and it seems to works great.<br></div>Here is how i tested it :<br><br></div>- Download attached .csv files<br></div>- open table..csv (colapsed time series of files), show in a spreasheet view<br></div>- click play<br><br></div>Let me know if this works on your end.<br><br></div>Best,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Mon, Jan 22, 2018 at 4:08 PM, Cornelis Bockemühl <span dir="ltr"><<a href="mailto:cornelis.bockemuehl@gmail.com" target="_blank">cornelis.bockemuehl@gmail.com</a>></span> wrote:<br><blockquote type="cite"><div><div>Hello,</div><div><br></div><div>To me it looks like this could be either some omission from my side or a bug in ParaView, but in any case I would be interested in a solution first of all!</div><div><br></div><div>I have written a filter that takes some input ports and produces 5 output ports - the first being an "unstructured grid" and the others are tables. In the server manager XML I used hints to make sure that the tables are not automatically opened at once (<View type="None" port="..." />). This works nicely so far.</div><div><br></div><div>Now the filter is producing a time series, step by step modifying the "unstructured grid", and some data written to the tables per period.</div><div><br></div><div>What I see now is that the "unstructured grid" is doing what I expect: I can go up and down along the time axis and it always shows the proper graphical output. I can also capture the data in a spreadsheet, and this is also properly updated.</div><div><br></div><div>Not so the additional tables! In this case they are updated ONCE and never again, so I can have different scenarios:</div><div><br></div><div>- I add the filter and press apply. This would bring me to step 0 - with empty tables. If I open now a spreadsheet view and look at any of them this correct. But if I now press "play" and go from step to step, only the "unstructured grid" gets updated, not the spreadsheet view.</div><div><br></div><div>- I can also add the filter, press apply and immediately also "play". With that I am at the last step, and opening a spreadsheet view for the tables gives me the full tables - again correct. But again: if I go back in time, the tables stay as they were initially (i.e. full).</div><div><br></div><div>Now I prepared a demo case for this. It has just two tables, one being shown immediately and the second only "on demand". Indeed I could almost reproduce the behaviour: the first table does what is expected, but the second not. Only difference with my full case: the second table NEVER shows anything, no matter if I press the "play" button earlier or later!</div><div><br></div><div>It is interesting to note that the "Information" panel shows the tables correctly, like: X rows, Y columns - even if the spreadsheet view is completely empty. Or showing much more!</div><div><br></div><div>My question from the beginning is now: Is there something that I would have to do to trigger a spreadsheet view update or is this a bug that needs to be fixed? (Actually I hope for the first because then I can quickly apply the fix in my own software and I am fine!...)</div><div><br></div><div>I am attaching a package with source code (h, cxx and xml files) plus a screenshot that illustrates the case where the second table shows some content only in the properties panel (left), but not in the spreadsheet view (right).</div><div><br></div><div>With many thanks for any helpful hints - and kind regards,</div><div>Cornelis</div></div><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://paraview.org/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">https://paraview.org/mailman/<wbr>listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div>
</blockquote></body></html>