--
You received this message because you are subscribed to a topic in the Google Groups "E-Prime" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/e-prime/gmV5HDVIsM4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to e-prime+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/14cf2615-e05e-c34d-6dce-8b6651aff169%40msu.edu.
Harold,
First, add a ParallelPort device to your experiment -- open the Experiment Object Properties pages, go to the Devices tab, click "Add...", and add a ParallelPort device. Then open the ParallelPort device and set LPT to 3 (or better, use Windows Device Manager
to reassign your parallel port to LPT1 so that your program would be more likely to work on generic PCs, that's what I would do).
With that done, you could simply replace any WritePort commands with ParallelPort.WriteByte. E.g.,
WritePort &h3E80, 123
becomes
ParallelPort.WriteByte 123
(This assumes that you did not change the name of your ParallelPort device, otherwise use the name that you assigned it.)
And if your program uses the "OnsetSignal" mechanism, then you have to replace that with Task Events, which introduces another topic.
-- David McFarlane