Sorry for the delay on getting back to you on this, but I think the problem is not so much with the Reader actor, but more likely with the DT domain.
Under Ptolemy II 1.0.1, your no_up_down_sample.xml file produces two samples at x=1 Under our development version, the output looks much better. I'm not sure where the problem was fixed. I'll look into folding it in to the regression tests so that we can see if the problem reappears. -Christopher -------- This is a multi-part message in MIME format. --------------FB1856C834A8AE64557B3510 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I think I have found a problem with the Reader actor. Attached are 3 simple files to illustrate the problem no_up_down_sample.xml contains a Reader straight into sink actors. up_down_sample.xml contains a Reader passed through a up-sample and down-sample actor into sink actors. sample2.txt contains data used by both Readers Note the behavior between samples 2 and 3 on the output display. Why the entry of two values on sample 1 when there is no up/down sample? The up/down sample fixes the problem so I have a work around. Thank You Greg Rohling
reader.tar.gz
Description: Binary data