David,
First, a correction -- I said earlier, "all output using WritePort or
OnsetSignal succeeds, no matter how we run those programs", but that was
wrong. In our tests with WritePort or OnsetSignal, we got complete
failure of output to the parallel port when we ran the program using
E-Studio Test mode (ES-Test), although we got complete success when
running that program normally from E-Studio (ES-Run) or from E-Run. I
should have taken another look at my Excel summary worksheet before I
posted that.
So, thanks for writing back. Interesting that you got things to work by
setting PreRelease to 0. Task Events should really work with
PreRelease, but if it doesn't, then it doesn't. I would have tried this
myself today, but today we had trouble replicating the problem in the
first place. Indeed, in our first run using WritePort/OnsetSignal with
ES-Test, we got complete LPT output failure just as before. But all
later runs gave complete success, as did all our runs using Task Events.
So we are at a loss for the moment. The lab manager will run more
extensive tests here, focusing on the earlier failure modes of interest
(Task Events under E-Run). At least it turns out that the lab has
another similar system in the same room, so now we can run comparisons
between two systems. And PST Support is still working with me on this,
and I have brought their attention to this thread.
As to WriteByte, ResetBit, etc. ... We output a variety of changing
codes, so for Task Events we always use the WriteByte action with Custom
data, either a literal value or an attribute reference (e.g.,
"[MovieMarker]"). For resetting to 0, again I always just use
WriteByte, with a Custom value of 0. And we use paired Task Events on
each stimulus object of interest -- one with Delay 0 to output the
desired data, and another with Delay of, say, 20 to reset the output to
0. Very tidy when it works! (Oh, and I add "TE" to the name of any
object that uses Task Events so that I can identify them in my structure
-- e.g., "StimTEMovie" or "LptResetTEWait".)
Best,
-- David McFarlane