﻿<?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 5  » LPT markers during cuedgonogo task</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 20 Sep 2026 23:28:45 GMT</lastBuildDate><ttl>20</ttl><item><title>LPT markers during cuedgonogo task</title><link>https://forums.millisecond.com/Topic26012.aspx</link><description>Hello,&lt;br/&gt;I am trying to send markers to a biopac&amp;nbsp;fnirs system which accepts standard LPT signals. I am using the standard go/nogo task from inquist&amp;nbsp;&lt;a href="https://www.millisecond.com/download/library/gonogo/"&gt;https://www.millisecond.com/download/library/gonogo/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;I would like to send markers during each stimulus during the&amp;nbsp;trials and different markers based on the trial type.&lt;br/&gt;&lt;br/&gt;Blankscreen&lt;br/&gt;Verticalcue&lt;br/&gt;Horizontalcue&lt;br/&gt;Verticalgotarget&lt;br/&gt;Horizontalgotarget&lt;br/&gt;Verticalnogotarget&lt;br/&gt;Horizontalnogotarget&lt;br/&gt;&lt;br/&gt;Is there a way to define it with the stimuli so that the marker is sent at the same time it is presented?&lt;br/&gt;&amp;lt;picture verticalcue&amp;gt;&lt;br/&gt;/ items = cues&lt;br/&gt;/ select = 1&lt;br/&gt;/ size = (25%,25%)&lt;br/&gt;/ position = (50%,50%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;</description><pubDate>Wed, 07 Nov 2018 05:38:10 GMT</pubDate><dc:creator>jcappsiv</dc:creator></item><item><title>RE: LPT markers during cuedgonogo task</title><link>https://forums.millisecond.com/Topic26025.aspx</link><description>&lt;div data-id="26015" class="if-quote-wrapper" unselectable="on" data-guid="1541555462526"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26015" 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="26015" 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="26015" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, November 6, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26015"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26012" class="if-quote-wrapper" unselectable="on" data-guid="1541555462526"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26012" 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="26012" 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="26012" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;jcappsiv - Tuesday, November 6, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26012"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I am trying to send markers to a biopac&amp;nbsp;fnirs system which accepts standard LPT signals. I am using the standard go/nogo task from inquist&amp;nbsp;&lt;a href="https://www.millisecond.com/download/library/gonogo/"&gt;&lt;a href="https://www.millisecond.com/download/library/gonogo/"&gt;https://www.millisecond.com/download/library/gonogo/&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;I would like to send markers during each stimulus during the&amp;nbsp;trials and different markers based on the trial type.&lt;br/&gt;&lt;br/&gt;Blankscreen&lt;br/&gt;Verticalcue&lt;br/&gt;Horizontalcue&lt;br/&gt;Verticalgotarget&lt;br/&gt;Horizontalgotarget&lt;br/&gt;Verticalnogotarget&lt;br/&gt;Horizontalnogotarget&lt;br/&gt;&lt;br/&gt;Is there a way to define it with the stimuli so that the marker is sent at the same time it is presented?&lt;br/&gt;&amp;lt;picture verticalcue&amp;gt;&lt;br/&gt;/ items = cues&lt;br/&gt;/ select = 1&lt;br/&gt;/ size = (25%,25%)&lt;br/&gt;/ position = (50%,50%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26012"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Set up your &amp;lt;port&amp;gt; elements for the different types of markers as needed. Then include the markers in your trials, i.e. display them at the same time as the respective visual stimuli by adding them to the existing insertstimulustime() logic /ontrialbegin. Suppose you have defined a marker for a horizontal cue&lt;br/&gt;&lt;br/&gt;&amp;lt;port horizontalcue_marker&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;display it in sync with the visual horizontal cue by doing&lt;br/&gt;&lt;br/&gt;&amp;lt;trial horizontalcue_go&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.cuetype = 2;&lt;br/&gt;values.targettype = 3;&lt;br/&gt;values.soa=list.soa_horizontalcue_go.nextvalue; &lt;br/&gt;values.trialcount+=1;&lt;br/&gt;&lt;br/&gt;trial.horizontalcue_go.insertstimulustime(shape.blankscreen, parameters.fixationduration);&lt;br/&gt;trial.horizontalcue_go.insertstimulustime(picture.horizontalcue,(parameters.fixationduration+parameters.cue_delay));&lt;br/&gt;&lt;strong&gt;trial.horizontalcue_go.insertstimulustime(port.horizontalcue_marker,(parameters.fixationduration+parameters.cue_delay));&lt;/strong&gt;&lt;br/&gt;trial.horizontalcue_go.insertstimulustime(picture.horizontalgotarget,(parameters.fixationduration+parameters.cue_delay+values.soa));&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=blankscreen,fixation]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;In other words, &amp;lt;port&amp;gt; elements work exactly like any other types of stimulus elements -- &amp;lt;text&amp;gt;, &amp;lt;picture&amp;gt;, etc. -- and you use them in exactly the same way.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26015"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Many thanks works like a charm!</description><pubDate>Wed, 07 Nov 2018 05:38:10 GMT</pubDate><dc:creator>jcappsiv</dc:creator></item><item><title>RE: LPT markers during cuedgonogo task</title><link>https://forums.millisecond.com/Topic26015.aspx</link><description>&lt;div data-id="26012" class="if-quote-wrapper" unselectable="on" data-guid="1541528029728"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26012" 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="26012" 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="26012" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;jcappsiv - Tuesday, November 6, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26012"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I am trying to send markers to a biopac&amp;nbsp;fnirs system which accepts standard LPT signals. I am using the standard go/nogo task from inquist&amp;nbsp;&lt;a href="https://www.millisecond.com/download/library/gonogo/"&gt;&lt;a href="https://www.millisecond.com/download/library/gonogo/"&gt;https://www.millisecond.com/download/library/gonogo/&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;I would like to send markers during each stimulus during the&amp;nbsp;trials and different markers based on the trial type.&lt;br/&gt;&lt;br/&gt;Blankscreen&lt;br/&gt;Verticalcue&lt;br/&gt;Horizontalcue&lt;br/&gt;Verticalgotarget&lt;br/&gt;Horizontalgotarget&lt;br/&gt;Verticalnogotarget&lt;br/&gt;Horizontalnogotarget&lt;br/&gt;&lt;br/&gt;Is there a way to define it with the stimuli so that the marker is sent at the same time it is presented?&lt;br/&gt;&amp;lt;picture verticalcue&amp;gt;&lt;br/&gt;/ items = cues&lt;br/&gt;/ select = 1&lt;br/&gt;/ size = (25%,25%)&lt;br/&gt;/ position = (50%,50%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26012"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Set up your &amp;lt;port&amp;gt; elements for the different types of markers as needed. Then include the markers in your trials, i.e. display them at the same time as the respective visual stimuli by adding them to the existing insertstimulustime() logic /ontrialbegin. Suppose you have defined a marker for a horizontal cue&lt;br/&gt;&lt;br/&gt;&amp;lt;port horizontalcue_marker&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;display it in sync with the visual horizontal cue by doing&lt;br/&gt;&lt;br/&gt;&amp;lt;trial horizontalcue_go&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.cuetype = 2;&lt;br/&gt;values.targettype = 3;&lt;br/&gt;values.soa=list.soa_horizontalcue_go.nextvalue; &lt;br/&gt;values.trialcount+=1;&lt;br/&gt;&lt;br/&gt;trial.horizontalcue_go.insertstimulustime(shape.blankscreen, parameters.fixationduration);&lt;br/&gt;trial.horizontalcue_go.insertstimulustime(picture.horizontalcue,(parameters.fixationduration+parameters.cue_delay));&lt;br/&gt;&lt;strong&gt;trial.horizontalcue_go.insertstimulustime(port.horizontalcue_marker,(parameters.fixationduration+parameters.cue_delay));&lt;/strong&gt;&lt;br/&gt;trial.horizontalcue_go.insertstimulustime(picture.horizontalgotarget,(parameters.fixationduration+parameters.cue_delay+values.soa));&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=blankscreen,fixation]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;In other words, &amp;lt;port&amp;gt; elements work exactly like any other types of stimulus elements -- &amp;lt;text&amp;gt;, &amp;lt;picture&amp;gt;, etc. -- and you use them in exactly the same way.&lt;br/&gt;</description><pubDate>Tue, 06 Nov 2018 10:20:07 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>