## Presentation stimulus multiple times through parallel port

##### Presentation stimulus multiple times through parallel port
 Author Message PieterGoos          Group: Forum Members Posts: 2, Visits: 16 Hello,I want to present a stimulus 5 times in a row through a parallel port (electrical stimulus through a Digitimer). It needs to be a 50 hz signal and needs to be presented in a trial.I have tried to do this like this below, but it didn’t work (only presents the electrical stimulus once):/port = LPT1/subport = data/items = (“00000001”)/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]/ timeout = 2000When for example using a sound as a stimulus, it will present the stimulus 5x in a row in a trial. How come this doesn't work?Though, it works when I put the signal in a block (but this is no solution, because it needs to be presented in a trial together with a picture):/ stimulustimes = [0 = US; 20 = cover]/ timeout = 20/trials = [1 = trial.US; 2 = trial.US; 3 = trial.US; 4 = trial.US; 5 = trial.US]Does anybody know how to do this? Dave posted Last Month ANSWER         Group: Administrators Posts: 12K, Visits: 89K +x PieterGoos - 1/10/2023Hello,I want to present a stimulus 5 times in a row through a parallel port (electrical stimulus through a Digitimer). It needs to be a 50 hz signal and needs to be presented in a trial.I have tried to do this like this below, but it didn’t work (only presents the electrical stimulus once):/port = LPT1/subport = data/items = (“00000001”)/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]/ timeout = 2000When for example using a sound as a stimulus, it will present the stimulus 5x in a row in a trial. How come this doesn't work?Though, it works when I put the signal in a block (but this is no solution, because it needs to be presented in a trial together with a picture):/ stimulustimes = [0 = US; 20 = cover]/ timeout = 20/trials = [1 = trial.US; 2 = trial.US; 3 = trial.US; 4 = trial.US; 5 = trial.US]Does anybody know how to do this?/port = LPT1/subport = data/items = ("00000001")/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]/ timeout = 2000The port signal remains raised throughout the trial, just like a visual stimulus will remain on-screen for the duration of the trial.You need to lower the signal in-between if you want to raise it repeatedly, i.e./port = LPT1/subport = data/items = ("00000001")/port = LPT1/subport = data/items = ("00000000")/ stimulustimes = [0 = US; 10=allbitstolow; 20 = US; 30=allbitstolow; 40 = US; 50=allbitstolow; 60 = US; 70=allbitstolow; 80 = US; 90=allbitstolow; 2000 = cover]/ timeout = 2000 PieterGoos          Group: Forum Members Posts: 2, Visits: 16 +x Dave - 1/10/2023+x PieterGoos - 1/10/2023Hello,I want to present a stimulus 5 times in a row through a parallel port (electrical stimulus through a Digitimer). It needs to be a 50 hz signal and needs to be presented in a trial.I have tried to do this like this below, but it didn’t work (only presents the electrical stimulus once):/port = LPT1/subport = data/items = (“00000001”)/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]/ timeout = 2000When for example using a sound as a stimulus, it will present the stimulus 5x in a row in a trial. How come this doesn't work?Though, it works when I put the signal in a block (but this is no solution, because it needs to be presented in a trial together with a picture):/ stimulustimes = [0 = US; 20 = cover]/ timeout = 20/trials = [1 = trial.US; 2 = trial.US; 3 = trial.US; 4 = trial.US; 5 = trial.US]Does anybody know how to do this?/port = LPT1/subport = data/items = ("00000001")/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]/ timeout = 2000The port signal remains raised throughout the trial, just like a visual stimulus will remain on-screen for the duration of the trial.You need to lower the signal in-between if you want to raise it repeatedly, i.e./port = LPT1/subport = data/items = ("00000001")/port = LPT1/subport = data/items = ("00000000")/ stimulustimes = [0 = US; 10=allbitstolow; 20 = US; 30=allbitstolow; 40 = US; 50=allbitstolow; 60 = US; 70=allbitstolow; 80 = US; 90=allbitstolow; 2000 = cover]/ timeout = 2000This works perfect! Thank you very much!

#### Merge Selected

Merge into selected topic...

Merge into merge target...

Merge into a specific topic ID...