﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 6  » Presentation stimulus multiple times through parallel port</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 16 Sep 2026 02:49:38 GMT</lastBuildDate><ttl>20</ttl><item><title>Presentation stimulus multiple times through parallel port</title><link>https://forums.millisecond.com/Topic35098.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;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.&lt;br/&gt;&lt;br/&gt;I have tried to do this like this below, but it didn’t work (only presents the electrical stimulus once):&lt;br/&gt;&lt;br/&gt;&amp;lt;port US&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = (“00000001”)&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US_50Hz&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]&lt;br/&gt;/ timeout = 2000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When 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?&lt;br/&gt;&lt;br/&gt;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):&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 20 = cover]&lt;br/&gt;/ timeout = 20&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block US_50hz&amp;gt;&lt;br/&gt;/trials = [1 = trial.US; 2 = trial.US; 3 = trial.US; 4 = trial.US; 5 = trial.US]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Does anybody know how to do this?&lt;br/&gt;</description><pubDate>Tue, 10 Jan 2023 15:32:36 GMT</pubDate><dc:creator>PieterGoos</dc:creator></item><item><title>RE: Presentation stimulus multiple times through parallel port</title><link>https://forums.millisecond.com/Topic35100.aspx</link><description>&lt;blockquote data-id="35099" class="if-quote-wrapper" unselectable="on" data-guid="1673364728076" contenteditable="false" id="if_insertedNode_1673364726292"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35099" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35099" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35099" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 1/10/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35099"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35098" class="if-quote-wrapper" unselectable="on" data-guid="1673364728076" id="if_insertedNode_1673363390230" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35098" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35098" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35098" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;PieterGoos - 1/10/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35098"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;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.&lt;br/&gt;&lt;br/&gt;I have tried to do this like this below, but it didn’t work (only presents the electrical stimulus once):&lt;br/&gt;&lt;br/&gt;&amp;lt;port US&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = (“00000001”)&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US_50Hz&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]&lt;br/&gt;/ timeout = 2000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When 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?&lt;br/&gt;&lt;br/&gt;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):&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 20 = cover]&lt;br/&gt;/ timeout = 20&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block US_50hz&amp;gt;&lt;br/&gt;/trials = [1 = trial.US; 2 = trial.US; 3 = trial.US; 4 = trial.US; 5 = trial.US]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Does anybody know how to do this?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35098"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;[code]&amp;lt;port US&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = ("00000001")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US_50Hz&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]&lt;br/&gt;/ timeout = 2000&lt;br/&gt;&amp;lt;/trial&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;The port signal remains raised throughout the trial, just like a visual stimulus will remain on-screen for the duration of the trial.&lt;br/&gt;&lt;br/&gt;You need to lower the signal in-between if you want to raise it repeatedly, i.e.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;port US&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = ("00000001")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;port allbitstolow&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = ("00000000")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US_50Hz&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 10=allbitstolow; 20 = US; 30=allbitstolow; 40 = US; 50=allbitstolow; 60 = US; 70=allbitstolow; 80 = US; 90=allbitstolow; 2000 = cover]&lt;br/&gt;/ timeout = 2000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35099"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;This works perfect! &lt;br/&gt;Thank you very much!</description><pubDate>Tue, 10 Jan 2023 15:32:36 GMT</pubDate><dc:creator>PieterGoos</dc:creator></item><item><title>RE: Presentation stimulus multiple times through parallel port</title><link>https://forums.millisecond.com/Topic35099.aspx</link><description>&lt;blockquote data-id="35098" class="if-quote-wrapper" unselectable="on" data-guid="1673363391944" id="if_insertedNode_1673363390230" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35098" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35098" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35098" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;PieterGoos - 1/10/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35098"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;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.&lt;br/&gt;&lt;br/&gt;I have tried to do this like this below, but it didn’t work (only presents the electrical stimulus once):&lt;br/&gt;&lt;br/&gt;&amp;lt;port US&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = (“00000001”)&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US_50Hz&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]&lt;br/&gt;/ timeout = 2000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When 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?&lt;br/&gt;&lt;br/&gt;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):&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 20 = cover]&lt;br/&gt;/ timeout = 20&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block US_50hz&amp;gt;&lt;br/&gt;/trials = [1 = trial.US; 2 = trial.US; 3 = trial.US; 4 = trial.US; 5 = trial.US]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Does anybody know how to do this?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35098"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;[code]&amp;lt;port US&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = ("00000001")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US_50Hz&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 20 = US; 40 = US; 60 = US; 80 = US; 2000 = cover]&lt;br/&gt;/ timeout = 2000&lt;br/&gt;&amp;lt;/trial&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;The port signal remains raised throughout the trial, just like a visual stimulus will remain on-screen for the duration of the trial.&lt;br/&gt;&lt;br/&gt;You need to lower the signal in-between if you want to raise it repeatedly, i.e.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;port US&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = ("00000001")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;port allbitstolow&amp;gt;&lt;br/&gt;/port = LPT1&lt;br/&gt;/subport = data&lt;br/&gt;/items = ("00000000")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial US_50Hz&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = US; 10=allbitstolow; 20 = US; 30=allbitstolow; 40 = US; 50=allbitstolow; 60 = US; 70=allbitstolow; 80 = US; 90=allbitstolow; 2000 = cover]&lt;br/&gt;/ timeout = 2000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 10 Jan 2023 15:14:48 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>