<div><br></div><div><div class="mailcontent mailcontent_scale  qmNoTableScale" id="mailcontent" style="line-height: 1.5; font-size: 16px; margin: 16px 16px 5px !important;">Hi all:</div><div class="mailcontent mailcontent_scale  qmNoTableScale" id="mailcontent" style="line-height: 1.5; font-size: 16px; margin: 16px 16px 5px !important;">I have developed a source filter which grabs data from a remote server in a fixed interval. This source filter has only one output port which connects to two input ports from a vtkJPEGWriter and a vtkImageRenderer. </div><div class="mailcontent mailcontent_scale  qmNoTableScale" id="mailcontent" style="line-height: 1.5; font-size: 16px; margin: 16px 16px 5px !important;">My purpose is to rendering image on the window in real time while writing the same data into a series of files. </div><div class="mailcontent mailcontent_scale  qmNoTableScale" id="mailcontent" style="line-height: 1.5; font-size: 16px; margin: 16px 16px 5px !important;">Question 1: Is this way of connecting one output port to multiple input ports a safe way? </div><div class="mailcontent mailcontent_scale  qmNoTableScale" id="mailcontent" style="line-height: 1.5; font-size: 16px; margin: 16px 16px 5px !important;">Question 2: How can I control the vtkJPEGWriter to write image only when the upstream filter updates its output port? It seems that vtkJPEGWriter will write data into file as long as there is an image data on the connected input port. </div><div class="mailcontent mailcontent_scale  qmNoTableScale" id="mailcontent" style="line-height: 1.5; font-size: 16px; margin: 16px 16px 5px !important;"><br></div><div class="mailcontent mailcontent_scale  qmNoTableScale" id="mailcontent" style="line-height: 1.5; font-size: 16px; margin: 16px 16px 5px !important;">Thanks in advance.</div></div><div><br></div><div> </div>