Parallel Port


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
<trial licht>
/ stimulusframes = [60 = mysignal; 120 = mysignal2; 180 = mysignal]
/ trialduration = 360
</trial>

That trial is set to a duration of 360 ms (/trialduration). However, you are using /stimulusframes, i.e., supposing your display is running at 100Hz, the 1st signal only occurs at 600 ms, the 2nd one at 1200 ms, the 3rd at 1800 ms. The trial is over by then. The same is true (and even more extreme) if your display is running at a lower refresh rate (50 or 60 Hz).

You'll probably want to use /stimulustimes instead or increase the trial duration significantly.

Tacho
Tacho
Associate Member (297 reputation)Associate Member (297 reputation)Associate Member (297 reputation)Associate Member (297 reputation)Associate Member (297 reputation)Associate Member (297 reputation)Associate Member (297 reputation)Associate Member (297 reputation)Associate Member (297 reputation)
Group: Forum Members
Posts: 2, Visits: 5
I can control the data pins in only one direction whith my script (the parallel port tool works correct). I can set a pin from 1 to 0 but not from 0 to 1?  Any ideas? I yust try to set the pin off and on and off and on and so on...

<trial licht>
/ stimulusframes = [60 = mysignal; 120 = mysignal2; 180 = mysignal]
/ trialduration = 360
</trial>

<port mysignal>
/ port = lpt1
/ subport = data
/ items = ("00000000")
</port>

<port mysignal2>
/ port = lpt1
/ subport = data
/ items = ("00100000")
</port>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search