View unanswered posts | View active topics It is currently 27 Mar 2023, 18:50

Reply to topic  [ 1 post ] 
Delete the data on a port 
Author Message

Joined: 11 May 2009, 12:55
Posts: 1
Reply with quote

I have an EyesWeb patch that contains file reader and file writer and a module in between processing image data.
I want to run the patch with a bunch of input files. That works fine in principle.
Now my module in the chain needs a runin time of 3 images when the input file changes. Therefore I have added a file port to this module and have connected it to the file reader. When a new file is detected the first three images are skipped. Fine so far. Now the but:
BUT: The file writer still writes out images and does not wait for the new ones to arrive even if I skip the whole processing thus the generation of new output data. This results e.g. if I run two sequences 10 images each with the first 3 to be skipped in the first output file to correctly have 7 images and the second output file to have 10, 3 old ones and 7 new ones.
QUESTION: How can I avoid the file writer to be triggered again with the old data when I switch to a new file or in other words: How can I reset the output ports of my module that is connceted to the writer to the initial state they had at start time?

Thanks a lot in advance

11 May 2009, 13:10
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.