﻿<?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 4  » Monetary Incentive Delay Task on EEG with Inquisit 4</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 16 Jun 2026 23:02:32 GMT</lastBuildDate><ttl>20</ttl><item><title>Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25499.aspx</link><description>Hello Dave and all,&lt;br/&gt;&lt;br/&gt;I have a problem that I hope you can help me with. I want to use MID task on EEG however, I do not know how to write it in the script and how to connect with the paralell ports. I studied from the links on the millisecond, still unfortunately I am stuck. Can you please help me? It is my PhD thesis and I do not know how to deal with it.&lt;br/&gt;&lt;br/&gt;The script is attached.&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&amp;nbsp;</description><pubDate>Tue, 09 Oct 2018 06:38:33 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25847.aspx</link><description>&lt;div data-id="25845" class="if-quote-wrapper" unselectable="on" data-guid="1539091954937"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25845" 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="25845" 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="25845" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Tuesday, October 9, 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-25845"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25800" class="if-quote-wrapper" unselectable="on" data-guid="1539091954937"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25800" 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="25800" 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="25800" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, September 28, 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-25800"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25799" class="if-quote-wrapper" unselectable="on" data-guid="1539091954937"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25799" 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="25799" 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="25799" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Friday, September 28, 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-25799"&gt;&lt;div class="if-quote-message-margin"&gt;No I still want 100 trials total each.. including 30 incentive and 70 non incentive cue.. What should I write to the script?Thanks&lt;a class="if-quote-goto quote-link" href="#" data-id="25799"&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;Then your /trials attribute needs to read&lt;br/&gt;&lt;br/&gt;/ trials = [1-100 = noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive)]&lt;br/&gt;&lt;br/&gt;obviously.&lt;br/&gt;&lt;br/&gt;1-100 -&amp;gt; 100 trials&lt;br/&gt;&lt;br/&gt;sampled randomly without replacement from a pool &lt;br/&gt;&lt;br/&gt;noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive)&lt;br/&gt;&lt;br/&gt;with a 3 (incentive) to 7 (nonincentive) ratio.&lt;br/&gt;&lt;br/&gt;How that works is easy to understand:&lt;br/&gt;&lt;br/&gt;/trials = [1-12 = noreplace(a, b)]&lt;br/&gt;&lt;br/&gt;will run 12 trials, with trial "a" and trial "b" in equal proportions, 1 to 1.&lt;br/&gt;&lt;br/&gt;/trials = [1-12 = noreplace(a, b, b)]&lt;br/&gt;&lt;br/&gt;would also run trials, but with a 1 to 2 ratio, giving you only 4 "a" trials but twice as many "b" trials, i.e. 8 "b" trials.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25800"&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;Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Sorry to inform you that it is not working as I wish. I understand what you mean and it makes sense, however when I rearranged the script as you wrote, I get 100 nonincentive cues and 30 incentive cues making a total of 130 trials. I do not know where I did go wrong.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;/ trials = [1-100 = noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive)] is not working how I wanted.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I want to keep the MID task original (100 trials in total), I only want to increase incentive cue number from 20 to 30 and decrease nonincentive cue number from 80 to 70..still making a total of 100 trials in each condition. Can you please have a look at?&lt;br/&gt;&lt;br/&gt;Thank you very very much.&lt;br/&gt;&lt;br/&gt;Özge&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25845"&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;You are missing one thing:&lt;br/&gt;&lt;br/&gt;- 100 trials&lt;br/&gt;- 20 incentive trials&lt;br/&gt;- 80 nonincentive trials&lt;br/&gt;=&amp;gt; The order is randomized with&lt;strong&gt; the constraint that incentive trials cannot be presented consecutively&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;How does the script realize that constraint? It does so by invoking an additional nonincentive trial via /branch after every incentive trial:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial feedback&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;if (values.feedback == 1 || values.feedback == 2 || values.feedback == 5) {&lt;br/&gt;text.feedback.textcolor = green;&lt;br/&gt;} else {&lt;br/&gt;text.feedback.textcolor = red;&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;/ posttrialpause = values.fixediti&lt;br/&gt;/ stimulusframes = [1 = feedback,feedbackeeg, total]&lt;br/&gt;/ timeout = values.cueduration + values.targetduration&lt;br/&gt;/ posttrialpause = values.iti&lt;br/&gt;/ recorddata = false&lt;br/&gt;&lt;strong&gt;/ branch = [&lt;br/&gt;if (values.incentive_condition == 1) {&lt;br/&gt;trial.nonincentive;&lt;br/&gt;};&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;That's why you get more. Either ditch the constraint by removing the /branch or lower the amount of nonincentive trials in your &amp;lt;block&amp;gt;s' /trials accordingly.&lt;br/&gt;</description><pubDate>Tue, 09 Oct 2018 06:38:33 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25845.aspx</link><description>&lt;div data-id="25800" class="if-quote-wrapper" unselectable="on" data-guid="1539075836112"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25800" 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="25800" 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="25800" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, September 28, 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-25800"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25799" class="if-quote-wrapper" unselectable="on" data-guid="1539075836112"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25799" 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="25799" 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="25799" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Friday, September 28, 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-25799"&gt;&lt;div class="if-quote-message-margin"&gt;No I still want 100 trials total each.. including 30 incentive and 70 non incentive cue.. What should I write to the script?Thanks&lt;a class="if-quote-goto quote-link" href="#" data-id="25799"&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;Then your /trials attribute needs to read&lt;br/&gt;&lt;br/&gt;/ trials = [1-100 = noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive)]&lt;br/&gt;&lt;br/&gt;obviously.&lt;br/&gt;&lt;br/&gt;1-100 -&amp;gt; 100 trials&lt;br/&gt;&lt;br/&gt;sampled randomly without replacement from a pool &lt;br/&gt;&lt;br/&gt;noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive)&lt;br/&gt;&lt;br/&gt;with a 3 (incentive) to 7 (nonincentive) ratio.&lt;br/&gt;&lt;br/&gt;How that works is easy to understand:&lt;br/&gt;&lt;br/&gt;/trials = [1-12 = noreplace(a, b)]&lt;br/&gt;&lt;br/&gt;will run 12 trials, with trial "a" and trial "b" in equal proportions, 1 to 1.&lt;br/&gt;&lt;br/&gt;/trials = [1-12 = noreplace(a, b, b)]&lt;br/&gt;&lt;br/&gt;would also run trials, but with a 1 to 2 ratio, giving you only 4 "a" trials but twice as many "b" trials, i.e. 8 "b" trials.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25800"&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;Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Sorry to inform you that it is not working as I wish. I understand what you mean and it makes sense, however when I rearranged the script as you wrote, I get 100 nonincentive cues and 30 incentive cues making a total of 130 trials. I do not know where I did go wrong.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;/ trials = [1-100 = noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive)] is not working how I wanted.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I want to keep the MID task original (100 trials in total), I only want to increase incentive cue number from 20 to 30 and decrease nonincentive cue number from 80 to 70..still making a total of 100 trials in each condition. Can you please have a look at?&lt;br/&gt;&lt;br/&gt;Thank you very very much.&lt;br/&gt;&lt;br/&gt;Özge&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 09 Oct 2018 02:09:33 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25800.aspx</link><description>&lt;div data-id="25799" class="if-quote-wrapper" unselectable="on" data-guid="1538146352759"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25799" 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="25799" 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="25799" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Friday, September 28, 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-25799"&gt;&lt;div class="if-quote-message-margin"&gt;No I still want 100 trials total each.. including 30 incentive and 70 non incentive cue.. What should I write to the script?Thanks&lt;a class="if-quote-goto quote-link" href="#" data-id="25799"&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;Then your /trials attribute needs to read&lt;br/&gt;&lt;br/&gt;/ trials = [1-100 = noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive)]&lt;br/&gt;&lt;br/&gt;obviously.&lt;br/&gt;&lt;br/&gt;1-100 -&amp;gt; 100 trials&lt;br/&gt;&lt;br/&gt;sampled randomly without replacement from a pool &lt;br/&gt;&lt;br/&gt;noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive, nonincentive)&lt;br/&gt;&lt;br/&gt;with a 3 (incentive) to 7 (nonincentive) ratio.&lt;br/&gt;&lt;br/&gt;How that works is easy to understand:&lt;br/&gt;&lt;br/&gt;/trials = [1-12 = noreplace(a, b)]&lt;br/&gt;&lt;br/&gt;will run 12 trials, with trial "a" and trial "b" in equal proportions, 1 to 1.&lt;br/&gt;&lt;br/&gt;/trials = [1-12 = noreplace(a, b, b)]&lt;br/&gt;&lt;br/&gt;would also run trials, but with a 1 to 2 ratio, giving you only 4 "a" trials but twice as many "b" trials, i.e. 8 "b" trials.&lt;br/&gt;</description><pubDate>Fri, 28 Sep 2018 07:57:28 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25799.aspx</link><description>No I still want 100 trials total each.. including 30 incentive and 70 non incentive cue.. What should I write to the script?

Thanks</description><pubDate>Fri, 28 Sep 2018 06:40:14 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25798.aspx</link><description>&lt;div data-id="25797" class="if-quote-wrapper" unselectable="on" data-guid="1538140807261"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25797" 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="25797" 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="25797" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Friday, September 28, 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-25797"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Hi Dave again,&lt;br/&gt;&lt;br/&gt;I want to change number of incentive and non-incentive cues on trials like 30 incentive and 70 non incentive cues instead of original 20-80.. I think it is possible but I could not do it. I modified 1-80 like 1-70 but it did not solve the problem. How can I do it? I searched on the forum but could not see what I can do.&lt;br/&gt;&lt;br/&gt;Can you please have a look at?&lt;br/&gt;&lt;br/&gt;/ trials = [1-70 = noreplace(incentive, nonincentive, nonincentive, nonincentive)]&lt;br/&gt;&lt;br/&gt;Thank you so much&lt;br/&gt;&lt;br/&gt;Özge&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25797"&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;If you want 70 trials total, with 30 incentive and 40 nonincentive, then you need to specify the proporions accordingly in your noreplace() pool.&lt;br/&gt;&lt;br/&gt;/ trials = [1-70 = noreplace(incentive, incentive, incentive, nonincentive, nonincentive, nonincentive, nonincentive)]&lt;br/&gt;&lt;br/&gt;i.e. 3 to 4.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 28 Sep 2018 06:22:10 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title /><link>https://forums.millisecond.com/Topic25797.aspx</link><description>&lt;div data-id="25553" class="if-quote-wrapper" unselectable="on"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25553" 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="25553" 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="25553" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, September 18, 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-25553"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25548" class="if-quote-wrapper" unselectable="on" data-guid="1537277060115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25548" 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="25548" 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="25548" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Tuesday, September 18, 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-25548"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25547" class="if-quote-wrapper" unselectable="on" data-guid="1537277060115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25547" 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="25547" 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="25547" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Tuesday, September 18, 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-25547"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25537" class="if-quote-wrapper" unselectable="on" data-guid="1537277060115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25537" 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="25537" 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="25537" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, September 17, 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-25537"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25535" class="if-quote-wrapper" unselectable="on" data-guid="1537277060115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25535" 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="25535" 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="25535" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Monday, September 17, 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-25535"&gt;&lt;div class="if-quote-message-margin"&gt;Thank you Dave. Actually I managed to see the markers on the EEG recording computer (brain products software). However I only see two markers. For example: when the white square comes, s15 comes as a marker. And when other squares shows up, s7 is seen as a marker. My response doesn’t come as a marker but I think it can be solved during analysis part which I really hope to see! The problem here is that I don’t know how to specify those cues. I want to classify them as incentive and nonincentive cues. How can I do that? &lt;a class="if-quote-goto quote-link" href="#" data-id="25535"&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;You have not specified any markers to be sent upon response. You can do so by specifying /responsemessage attributes in your &amp;lt;trial&amp;gt; elements.&lt;br/&gt;You're not distinguishing between incentive and nonincentive trials because you're not sending the markers. &lt;br/&gt;&lt;br/&gt;for incentive trials:&lt;br/&gt;&amp;lt;port incetivecueeeg&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;for nonincentive trials:&lt;br/&gt;&amp;lt;port nonincetivecueeeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;I don't know why you don't send them, I have explained how to do this here:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;https://www.millisecond.com/forums/FindPost25523.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Finally, it seems your "eraser" &amp;lt;port&amp;gt; is misspecified&lt;br/&gt;&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;111&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to send all zeros to lower, i.e. "erase" a previous signal during the trial:&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;000&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25537"&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;Thank you Dave,&lt;br/&gt;&lt;br/&gt;Actually I updated the script after you the attached one was not the uptaed one. Now, the final version is attached. The thing is that I did what you said. I sent the markers I think. And I added responsemessage attributes. But, now all I can see the target as a marker (s7). Other incentive cues and nonincentive cues are not seen as markers let alone distinguishing incentive and nonincentive cues as markers. I don't know where I am doing wrong again. I am so close to succeed in this with your help and sorry to bother you this much but can you please have a look at the script and help me in marking problem? I just have to see the markers of incentive cues, nonincentive cues, responses, feedback etc while recording EEG..&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&lt;br/&gt;&lt;br/&gt;Özge&lt;a class="if-quote-goto quote-link" href="#" data-id="25547"&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;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25548"&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;This is the nonincentive trial from the script you attached:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial nonincentive&amp;gt;&lt;br/&gt;/inputdevice = mousekey&lt;br/&gt;/validresponse = (lbuttondown, rbuttondown)&lt;br/&gt;/correctresponse = (lbuttondown, rbuttondown) &lt;br/&gt;/ responsemessage = (lbuttondown,incentivecue, 0)&lt;br/&gt;/ responsemessage = (rbuttondown,incentivecue, 0)&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.incentive_condition = 2;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.iti=0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.targetduration = expressions.determineDuration;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.delayduration = list.delay.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.eraser, values.cueduration);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.erasereeg, values.cueduration);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.target, (values.cueduration + values.delayduration));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.targeteeg, (values.cueduration + values.delayduration));&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = nonincentivecue, total]&lt;br/&gt;/ beginresponsetime = values.cueduration + values.delayduration&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ timeout = values.cueduration + values.delayduration + values.targetduration&lt;br/&gt;/ monkeyresponse = (values.responsekey)&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.iti = values.trialduration - values.cueduration - values.delayduration - trial.nonincentive.latency - values.feedbackduration;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (values.exp_condition == 0) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.count_NonIncentiveControl += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.countcorrect_NonIncentiveControl += trial.nonincentive.correct;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.successNonIncentive_Control.insertitem(trial.nonincentive.correct, 1);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else if (values.exp_condition == 1) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.count_NonIncentiveReward += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.countcorrect_NonIncentiveReward += trial.nonincentive.correct;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.successIncentive_Reward.insertitem(trial.incentive.correct, 1);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else if (values.exp_condition == 2) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.count_NonIncentivePunishment += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.countcorrect_NonIncentivePunishment += trial.nonincentive.correct;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.successNonIncentive_Punishment.insertitem(trial.nonincentive.correct, 1);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } ;&lt;br/&gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br/&gt;/ branch = [trial.feedback]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;Where do you send the nonincentivecue EEG marker? It appears you don't. Why? All you send is the target EEG marker. Add the nonincentive marker as I have explained previously, please.&lt;br/&gt;&lt;br/&gt;Then, you'll probably want to define _different_ markers to indicate response. Here, &lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;nonincentive&lt;/strong&gt;&amp;gt;&lt;br/&gt;/inputdevice = mousekey&lt;br/&gt;/validresponse = (lbuttondown, rbuttondown)&lt;br/&gt;/correctresponse = (lbuttondown, rbuttondown) &lt;br/&gt;/ responsemessage = (lbuttondown,&lt;strong&gt;incentivecue&lt;/strong&gt;, 0)&lt;br/&gt;/ responsemessage = (rbuttondown,&lt;strong&gt;incentivecue&lt;/strong&gt;, 0)&lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;#1: What does "incentivecue" do in &amp;lt;trial &lt;strong&gt;nonincentive&lt;/strong&gt;&amp;gt;?&lt;br/&gt;#2: "incentivecue" is not a port marker, and neither is nonincentivecue. Those are &amp;lt;shape&amp;gt; elements. Your port elements are called incentivecueeeg and nonincentivecueeeg respectively.&lt;br/&gt;&lt;br/&gt;&amp;lt;shape incentivecue&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (values.stimsize * 0.75, values.stimsize)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = red&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&amp;lt;port &lt;strong&gt;incetivecueeeg&lt;/strong&gt;&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;&amp;lt;shape nonincentivecue&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (values.stimsize * 0.75, values.stimsize)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = red&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&amp;lt;port &lt;strong&gt;nonincetivecueeeg&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;#3: You almost certainly will want to send those markes for longer than just 0 ms, since it's not guaranteed that there will be a substantive post trial pause. Set it to a minimum of, say, 50 ms.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25553"&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;Hi Dave again,&lt;br/&gt;&lt;br/&gt;I want to change number of incentive and non-incentive cues on trials like 30 incentive and 70 non incentive cues instead of original 20-80.. I think it is possible but I could not do it. I modified 1-80 like 1-70 but it did not solve the problem. How can I do it? I searched on the forum but could not see what I can do.&lt;br/&gt;&lt;br/&gt;Can you please have a look at?&lt;br/&gt;&lt;br/&gt;/ trials = [1-70 = noreplace(incentive, nonincentive, nonincentive, nonincentive)]&lt;br/&gt;&lt;br/&gt;Thank you so much&lt;br/&gt;&lt;br/&gt;Özge&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 28 Sep 2018 06:15:33 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25553.aspx</link><description>&lt;div data-id="25548" class="if-quote-wrapper" unselectable="on" data-guid="1537277060115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25548" 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="25548" 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="25548" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Tuesday, September 18, 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-25548"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25547" class="if-quote-wrapper" unselectable="on" data-guid="1537277060115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25547" 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="25547" 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="25547" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Tuesday, September 18, 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-25547"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25537" class="if-quote-wrapper" unselectable="on" data-guid="1537277060115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25537" 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="25537" 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="25537" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, September 17, 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-25537"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25535" class="if-quote-wrapper" unselectable="on" data-guid="1537277060115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25535" 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="25535" 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="25535" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Monday, September 17, 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-25535"&gt;&lt;div class="if-quote-message-margin"&gt;Thank you Dave. Actually I managed to see the markers on the EEG recording computer (brain products software). However I only see two markers. For example: when the white square comes, s15 comes as a marker. And when other squares shows up, s7 is seen as a marker. My response doesn’t come as a marker but I think it can be solved during analysis part which I really hope to see! The problem here is that I don’t know how to specify those cues. I want to classify them as incentive and nonincentive cues. How can I do that? &lt;a class="if-quote-goto quote-link" href="#" data-id="25535"&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;You have not specified any markers to be sent upon response. You can do so by specifying /responsemessage attributes in your &amp;lt;trial&amp;gt; elements.&lt;br/&gt;You're not distinguishing between incentive and nonincentive trials because you're not sending the markers. &lt;br/&gt;&lt;br/&gt;for incentive trials:&lt;br/&gt;&amp;lt;port incetivecueeeg&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;for nonincentive trials:&lt;br/&gt;&amp;lt;port nonincetivecueeeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;I don't know why you don't send them, I have explained how to do this here:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;https://www.millisecond.com/forums/FindPost25523.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Finally, it seems your "eraser" &amp;lt;port&amp;gt; is misspecified&lt;br/&gt;&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;111&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to send all zeros to lower, i.e. "erase" a previous signal during the trial:&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;000&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25537"&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;Thank you Dave,&lt;br/&gt;&lt;br/&gt;Actually I updated the script after you the attached one was not the uptaed one. Now, the final version is attached. The thing is that I did what you said. I sent the markers I think. And I added responsemessage attributes. But, now all I can see the target as a marker (s7). Other incentive cues and nonincentive cues are not seen as markers let alone distinguishing incentive and nonincentive cues as markers. I don't know where I am doing wrong again. I am so close to succeed in this with your help and sorry to bother you this much but can you please have a look at the script and help me in marking problem? I just have to see the markers of incentive cues, nonincentive cues, responses, feedback etc while recording EEG..&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&lt;br/&gt;&lt;br/&gt;Özge&lt;a class="if-quote-goto quote-link" href="#" data-id="25547"&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;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25548"&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;This is the nonincentive trial from the script you attached:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial nonincentive&amp;gt;&lt;br/&gt;/inputdevice = mousekey&lt;br/&gt;/validresponse = (lbuttondown, rbuttondown)&lt;br/&gt;/correctresponse = (lbuttondown, rbuttondown) &lt;br/&gt;/ responsemessage = (lbuttondown,incentivecue, 0)&lt;br/&gt;/ responsemessage = (rbuttondown,incentivecue, 0)&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.incentive_condition = 2;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.iti=0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.targetduration = expressions.determineDuration;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.delayduration = list.delay.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.eraser, values.cueduration);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.erasereeg, values.cueduration);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.target, (values.cueduration + values.delayduration));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.targeteeg, (values.cueduration + values.delayduration));&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = nonincentivecue, total]&lt;br/&gt;/ beginresponsetime = values.cueduration + values.delayduration&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ timeout = values.cueduration + values.delayduration + values.targetduration&lt;br/&gt;/ monkeyresponse = (values.responsekey)&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.iti = values.trialduration - values.cueduration - values.delayduration - trial.nonincentive.latency - values.feedbackduration;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (values.exp_condition == 0) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.count_NonIncentiveControl += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.countcorrect_NonIncentiveControl += trial.nonincentive.correct;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.successNonIncentive_Control.insertitem(trial.nonincentive.correct, 1);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else if (values.exp_condition == 1) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.count_NonIncentiveReward += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.countcorrect_NonIncentiveReward += trial.nonincentive.correct;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.successIncentive_Reward.insertitem(trial.incentive.correct, 1);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else if (values.exp_condition == 2) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.count_NonIncentivePunishment += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.countcorrect_NonIncentivePunishment += trial.nonincentive.correct;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.successNonIncentive_Punishment.insertitem(trial.nonincentive.correct, 1);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } ;&lt;br/&gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br/&gt;/ branch = [trial.feedback]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;Where do you send the nonincentivecue EEG marker? It appears you don't. Why? All you send is the target EEG marker. Add the nonincentive marker as I have explained previously, please.&lt;br/&gt;&lt;br/&gt;Then, you'll probably want to define _different_ markers to indicate response. Here, &lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;nonincentive&lt;/strong&gt;&amp;gt;&lt;br/&gt;/inputdevice = mousekey&lt;br/&gt;/validresponse = (lbuttondown, rbuttondown)&lt;br/&gt;/correctresponse = (lbuttondown, rbuttondown) &lt;br/&gt;/ responsemessage = (lbuttondown,&lt;strong&gt;incentivecue&lt;/strong&gt;, 0)&lt;br/&gt;/ responsemessage = (rbuttondown,&lt;strong&gt;incentivecue&lt;/strong&gt;, 0)&lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;#1: What does "incentivecue" do in &amp;lt;trial &lt;strong&gt;nonincentive&lt;/strong&gt;&amp;gt;?&lt;br/&gt;#2: "incentivecue" is not a port marker, and neither is nonincentivecue. Those are &amp;lt;shape&amp;gt; elements. Your port elements are called incentivecueeeg and nonincentivecueeeg respectively.&lt;br/&gt;&lt;br/&gt;&amp;lt;shape incentivecue&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (values.stimsize * 0.75, values.stimsize)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = red&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&amp;lt;port &lt;strong&gt;incetivecueeeg&lt;/strong&gt;&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;&amp;lt;shape nonincentivecue&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (values.stimsize * 0.75, values.stimsize)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = red&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&amp;lt;port &lt;strong&gt;nonincetivecueeeg&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;#3: You almost certainly will want to send those markes for longer than just 0 ms, since it's not guaranteed that there will be a substantive post trial pause. Set it to a minimum of, say, 50 ms.&lt;br/&gt;</description><pubDate>Tue, 18 Sep 2018 06:32:36 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25548.aspx</link><description>&lt;div data-id="25547" class="if-quote-wrapper" unselectable="on" data-guid="1537270409073"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25547" 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="25547" 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="25547" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Tuesday, September 18, 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-25547"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25537" class="if-quote-wrapper" unselectable="on" data-guid="1537270409073"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25537" 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="25537" 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="25537" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, September 17, 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-25537"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25535" class="if-quote-wrapper" unselectable="on" data-guid="1537270409073"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25535" 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="25535" 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="25535" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Monday, September 17, 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-25535"&gt;&lt;div class="if-quote-message-margin"&gt;Thank you Dave. Actually I managed to see the markers on the EEG recording computer (brain products software). However I only see two markers. For example: when the white square comes, s15 comes as a marker. And when other squares shows up, s7 is seen as a marker. My response doesn’t come as a marker but I think it can be solved during analysis part which I really hope to see! The problem here is that I don’t know how to specify those cues. I want to classify them as incentive and nonincentive cues. How can I do that? &lt;a class="if-quote-goto quote-link" href="#" data-id="25535"&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;You have not specified any markers to be sent upon response. You can do so by specifying /responsemessage attributes in your &amp;lt;trial&amp;gt; elements.&lt;br/&gt;You're not distinguishing between incentive and nonincentive trials because you're not sending the markers. &lt;br/&gt;&lt;br/&gt;for incentive trials:&lt;br/&gt;&amp;lt;port incetivecueeeg&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;for nonincentive trials:&lt;br/&gt;&amp;lt;port nonincetivecueeeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;I don't know why you don't send them, I have explained how to do this here:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;https://www.millisecond.com/forums/FindPost25523.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Finally, it seems your "eraser" &amp;lt;port&amp;gt; is misspecified&lt;br/&gt;&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;111&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to send all zeros to lower, i.e. "erase" a previous signal during the trial:&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;000&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25537"&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;Thank you Dave,&lt;br/&gt;&lt;br/&gt;Actually I updated the script after you the attached one was not the uptaed one. Now, the final version is attached. The thing is that I did what you said. I sent the markers I think. And I added responsemessage attributes. But, now all I can see the target as a marker (s7). Other incentive cues and nonincentive cues are not seen as markers let alone distinguishing incentive and nonincentive cues as markers. I don't know where I am doing wrong again. I am so close to succeed in this with your help and sorry to bother you this much but can you please have a look at the script and help me in marking problem? I just have to see the markers of incentive cues, nonincentive cues, responses, feedback etc while recording EEG..&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&lt;br/&gt;&lt;br/&gt;Özge&lt;a class="if-quote-goto quote-link" href="#" data-id="25547"&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;&lt;br/&gt;</description><pubDate>Tue, 18 Sep 2018 04:32:58 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25547.aspx</link><description>&lt;div data-id="25537" class="if-quote-wrapper" unselectable="on" data-guid="1537269830818"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25537" 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="25537" 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="25537" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, September 17, 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-25537"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25535" class="if-quote-wrapper" unselectable="on" data-guid="1537269830818"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25535" 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="25535" 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="25535" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Monday, September 17, 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-25535"&gt;&lt;div class="if-quote-message-margin"&gt;Thank you Dave. Actually I managed to see the markers on the EEG recording computer (brain products software). However I only see two markers. For example: when the white square comes, s15 comes as a marker. And when other squares shows up, s7 is seen as a marker. My response doesn’t come as a marker but I think it can be solved during analysis part which I really hope to see! The problem here is that I don’t know how to specify those cues. I want to classify them as incentive and nonincentive cues. How can I do that? &lt;a class="if-quote-goto quote-link" href="#" data-id="25535"&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;You have not specified any markers to be sent upon response. You can do so by specifying /responsemessage attributes in your &amp;lt;trial&amp;gt; elements.&lt;br/&gt;You're not distinguishing between incentive and nonincentive trials because you're not sending the markers. &lt;br/&gt;&lt;br/&gt;for incentive trials:&lt;br/&gt;&amp;lt;port incetivecueeeg&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;for nonincentive trials:&lt;br/&gt;&amp;lt;port nonincetivecueeeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;I don't know why you don't send them, I have explained how to do this here:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;https://www.millisecond.com/forums/FindPost25523.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Finally, it seems your "eraser" &amp;lt;port&amp;gt; is misspecified&lt;br/&gt;&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;111&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to send all zeros to lower, i.e. "erase" a previous signal during the trial:&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;000&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25537"&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;Thank you Dave,&lt;br/&gt;&lt;br/&gt;Actually I updated the script after you the attached one was not the uptaed one. Now, the final version is attached. The thing is that I did what you said. I sent the markers I think. And I added responsemessage attributes. But, now all I can see the target as a marker (s7). Other incentive cues and nonincentive cues are not seen as markers let alone distinguishing incentive and nonincentive cues as markers. I don't know where I am doing wrong again. I am so close to succeed in this with your help and sorry to bother you this much but can you please have a look at the script and help me in marking problem? I just have to see the markers of incentive cues, nonincentive cues, responses, feedback etc while recording EEG..&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&lt;br/&gt;&lt;br/&gt;Özge</description><pubDate>Tue, 18 Sep 2018 04:32:33 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25537.aspx</link><description>&lt;div data-id="25535" class="if-quote-wrapper" unselectable="on" data-guid="1537204101443"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25535" 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="25535" 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="25535" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Monday, September 17, 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-25535"&gt;&lt;div class="if-quote-message-margin"&gt;Thank you Dave. Actually I managed to see the markers on the EEG recording computer (brain products software). However I only see two markers. For example: when the white square comes, s15 comes as a marker. And when other squares shows up, s7 is seen as a marker. My response doesn’t come as a marker but I think it can be solved during analysis part which I really hope to see! The problem here is that I don’t know how to specify those cues. I want to classify them as incentive and nonincentive cues. How can I do that? &lt;a class="if-quote-goto quote-link" href="#" data-id="25535"&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;You have not specified any markers to be sent upon response. You can do so by specifying /responsemessage attributes in your &amp;lt;trial&amp;gt; elements.&lt;br/&gt;You're not distinguishing between incentive and nonincentive trials because you're not sending the markers. &lt;br/&gt;&lt;br/&gt;for incentive trials:&lt;br/&gt;&amp;lt;port incetivecueeeg&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;for nonincentive trials:&lt;br/&gt;&amp;lt;port nonincetivecueeeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;I don't know why you don't send them, I have explained how to do this here:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost25523.aspx"&gt;https://www.millisecond.com/forums/FindPost25523.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Finally, it seems your "eraser" &amp;lt;port&amp;gt; is misspecified&lt;br/&gt;&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;111&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to send all zeros to lower, i.e. "erase" a previous signal during the trial:&lt;br/&gt;&amp;lt;port erasereeg&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000&lt;strong&gt;000&lt;/strong&gt;")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 17 Sep 2018 10:15:52 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25535.aspx</link><description>Thank you Dave. 
Actually I managed to see the markers on the EEG recording computer (brain products software). However I only see two markers. For example: when the white square comes, s15 comes as a marker. And when other squares shows up, s7 is seen as a marker. My response doesn’t come as a marker but I think it can be solved during analysis part which I really hope to see! 
The problem here is that I don’t know how to specify those cues. I want to classify them as incentive and nonincentive cues. How can I do that? </description><pubDate>Mon, 17 Sep 2018 09:08:21 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25530.aspx</link><description>&lt;div data-id="25528" class="if-quote-wrapper" unselectable="on" data-guid="1537193171543"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25528" 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="25528" 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="25528" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Monday, September 17, 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-25528"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25523" class="if-quote-wrapper" unselectable="on" data-guid="1537193171543"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25523" 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="25523" 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="25523" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, September 14, 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-25523"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25518" class="if-quote-wrapper" unselectable="on" data-guid="1537193171543"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25518" 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="25518" 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="25518" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Friday, September 14, 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-25518"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25500" class="if-quote-wrapper" unselectable="on" data-guid="1537193171543"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25500" 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="25500" 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="25500" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, September 12, 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-25500"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25499" class="if-quote-wrapper" unselectable="on" data-guid="1537193171543"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25499" 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="25499" 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="25499" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Wednesday, September 12, 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-25499"&gt;&lt;div class="if-quote-message-margin"&gt;Hello Dave and all,&lt;br/&gt;&lt;br/&gt;I have a problem that I hope you can help me with. I want to use MID task on EEG however, I do not know how to write it in the script and how to connect with the paralell ports. I studied from the links on the millisecond, still unfortunately I am stuck. Can you please help me? It is my PhD thesis and I do not know how to deal with it.&lt;br/&gt;&lt;br/&gt;The script is attached.&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="25499"&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;First you need to decide when you want to signal what. Then you define &amp;lt;port&amp;gt; elements as needed, one per type of signal. Then you just "display" those &amp;lt;port&amp;gt; stimuli just like any other kind of stimulus (&amp;lt;text&amp;gt;, &amp;lt;shape&amp;gt;, &amp;lt;picture&amp;gt;, etc.) in the script, i.e. you put them in the &amp;lt;trial&amp;gt;s' /stimulustimes or -frames and/or insert them dynamically via the insertstimulustime() function, again just like is done with all the other stimulus elements in the script.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25500"&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;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thank you I think I displayed those &amp;lt;port&amp;gt; stimuli in the script (if I am not wrong). However, I couldn't put them&amp;nbsp;&lt;span style="color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the &amp;lt;trial&amp;gt;s' /stimulustimes&lt;span&gt;&amp;nbsp;. It just doesn't recognize port under &amp;lt;trials&amp;gt;.&amp;nbsp; Can you please have a look at my script?&lt;br/&gt;&lt;br/&gt;I really appreciate it.&lt;br/&gt;&lt;br/&gt;Özge&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25518"&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;&amp;gt; However, I couldn't put them&amp;nbsp;&lt;span style="color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the &amp;lt;trial&amp;gt;s' /stimulustimes&lt;span&gt;&amp;nbsp;. It just doesn't recognize port under &amp;lt;trials&amp;gt;.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;I have no idea what you mean here. Please elaborate.&lt;br/&gt;&lt;br/&gt;Again, to reiterate, &amp;lt;port&amp;gt; stimuli work exactly like any other stimuli. First, give your &amp;lt;port&amp;gt; elements useful names that DO NOT collide with any other stimulus names. E.g.&lt;br/&gt;&lt;br/&gt;Do NOT define&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;nonincentivecue&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (parameters.stimsize * 0.75, parameters.stimsize)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = red&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;and a port element of the same name, call it e.g.&lt;br/&gt;&lt;br/&gt;&amp;lt;port &lt;strong&gt;nonincentivecueeeg&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Then, if you want to "display" or send the port signal at the same time as the cue &amp;lt;shape&amp;gt;, and a &amp;lt;port&amp;gt; signal along with the target, you do&lt;br/&gt;&lt;br/&gt;&amp;lt;trial nonincentive&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.incentive_condition = 2;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.iti=0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.targetduration = expressions.determineDuration;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.delayduration = list.delay.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.eraser, parameters.cueduration);&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.erasereeg, parameters.cueduration);&lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.target, (parameters.cueduration + values.delayduration));&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.targeteeg, (parameters.cueduration + values.delayduration));&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0 = nonincentivecue, &lt;strong&gt;nonincentivecueeeg&lt;/strong&gt;, total]&lt;br/&gt;/ beginresponsetime = parameters.cueduration + values.delayduration&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ response = timeout(values.targetduration)&lt;br/&gt;/ validresponse = (parameters.responsekey)&lt;br/&gt;/ correctresponse = (parameters.responsekey)&lt;br/&gt;/ monkeyresponse = (parameters.responsekey)&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth for the rest.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25523"&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;Hello Dave,&lt;br/&gt;&lt;br/&gt;Thank you very much for your help. I think it is ok&amp;nbsp;now (hope so..if you please have a look at the script). I am having trouble with addressing paralell port 1. Under the tools section there are windows related to paralell port however I just don't get it although I studied from your site and tried so hard. Andin my department&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;&amp;nbsp;no one&amp;nbsp;&lt;/span&gt;knows how to connect&amp;nbsp;task to the paralell port. And I don't want to give up! Can you please help me?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Özge&lt;a class="if-quote-goto quote-link" href="#" data-id="25528"&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;You can use Tools -&amp;gt; Parallel Port Monitor to *test* the connection to your EEG and figure out the correct settings (e.g. the parallel port number on your system -- it's not necessarily LPT1). Then you can send signals to the EEG / EEG recording software via the Tool to ensure the EEG sees the signals and they are what the EEG expects (check the EEG's manual for information on how to communicate with it). Then, once you've figured that out, make sure the settings in *your script* match those you tested, i.e. adjust the LPT number, etc. accordingly. I cannot really help with that, because I don't know what hardware you use and what the port numbers are on the device you plan to use.&lt;br/&gt;</description><pubDate>Mon, 17 Sep 2018 07:09:51 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25528.aspx</link><description>&lt;div data-id="25523" class="if-quote-wrapper" unselectable="on" data-guid="1537172408305"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25523" 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="25523" 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="25523" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, September 14, 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-25523"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25518" class="if-quote-wrapper" unselectable="on" data-guid="1537172408305"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25518" 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="25518" 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="25518" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Friday, September 14, 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-25518"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25500" class="if-quote-wrapper" unselectable="on" data-guid="1537172408305"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25500" 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="25500" 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="25500" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, September 12, 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-25500"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25499" class="if-quote-wrapper" unselectable="on" data-guid="1537172408305"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25499" 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="25499" 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="25499" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Wednesday, September 12, 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-25499"&gt;&lt;div class="if-quote-message-margin"&gt;Hello Dave and all,&lt;br/&gt;&lt;br/&gt;I have a problem that I hope you can help me with. I want to use MID task on EEG however, I do not know how to write it in the script and how to connect with the paralell ports. I studied from the links on the millisecond, still unfortunately I am stuck. Can you please help me? It is my PhD thesis and I do not know how to deal with it.&lt;br/&gt;&lt;br/&gt;The script is attached.&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="25499"&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;First you need to decide when you want to signal what. Then you define &amp;lt;port&amp;gt; elements as needed, one per type of signal. Then you just "display" those &amp;lt;port&amp;gt; stimuli just like any other kind of stimulus (&amp;lt;text&amp;gt;, &amp;lt;shape&amp;gt;, &amp;lt;picture&amp;gt;, etc.) in the script, i.e. you put them in the &amp;lt;trial&amp;gt;s' /stimulustimes or -frames and/or insert them dynamically via the insertstimulustime() function, again just like is done with all the other stimulus elements in the script.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25500"&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;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thank you I think I displayed those &amp;lt;port&amp;gt; stimuli in the script (if I am not wrong). However, I couldn't put them&amp;nbsp;&lt;span style="color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the &amp;lt;trial&amp;gt;s' /stimulustimes&lt;span&gt;&amp;nbsp;. It just doesn't recognize port under &amp;lt;trials&amp;gt;.&amp;nbsp; Can you please have a look at my script?&lt;br/&gt;&lt;br/&gt;I really appreciate it.&lt;br/&gt;&lt;br/&gt;Özge&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25518"&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;&amp;gt; However, I couldn't put them&amp;nbsp;&lt;span style="color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the &amp;lt;trial&amp;gt;s' /stimulustimes&lt;span&gt;&amp;nbsp;. It just doesn't recognize port under &amp;lt;trials&amp;gt;.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;I have no idea what you mean here. Please elaborate.&lt;br/&gt;&lt;br/&gt;Again, to reiterate, &amp;lt;port&amp;gt; stimuli work exactly like any other stimuli. First, give your &amp;lt;port&amp;gt; elements useful names that DO NOT collide with any other stimulus names. E.g.&lt;br/&gt;&lt;br/&gt;Do NOT define&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;nonincentivecue&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (parameters.stimsize * 0.75, parameters.stimsize)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = red&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;and a port element of the same name, call it e.g.&lt;br/&gt;&lt;br/&gt;&amp;lt;port &lt;strong&gt;nonincentivecueeeg&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Then, if you want to "display" or send the port signal at the same time as the cue &amp;lt;shape&amp;gt;, and a &amp;lt;port&amp;gt; signal along with the target, you do&lt;br/&gt;&lt;br/&gt;&amp;lt;trial nonincentive&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.incentive_condition = 2;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.iti=0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.targetduration = expressions.determineDuration;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.delayduration = list.delay.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.eraser, parameters.cueduration);&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.erasereeg, parameters.cueduration);&lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.target, (parameters.cueduration + values.delayduration));&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.targeteeg, (parameters.cueduration + values.delayduration));&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0 = nonincentivecue, &lt;strong&gt;nonincentivecueeeg&lt;/strong&gt;, total]&lt;br/&gt;/ beginresponsetime = parameters.cueduration + values.delayduration&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ response = timeout(values.targetduration)&lt;br/&gt;/ validresponse = (parameters.responsekey)&lt;br/&gt;/ correctresponse = (parameters.responsekey)&lt;br/&gt;/ monkeyresponse = (parameters.responsekey)&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth for the rest.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25523"&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;Hello Dave,&lt;br/&gt;&lt;br/&gt;Thank you very much for your help. I think it is ok&amp;nbsp;now (hope so..if you please have a look at the script). I am having trouble with addressing paralell port 1. Under the tools section there are windows related to paralell port however I just don't get it although I studied from your site and tried so hard. Andin my department&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;&amp;nbsp;no one&amp;nbsp;&lt;/span&gt;knows how to connect&amp;nbsp;task to the paralell port. And I don't want to give up! Can you please help me?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Özge</description><pubDate>Mon, 17 Sep 2018 01:26:27 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25523.aspx</link><description>&lt;div data-id="25518" class="if-quote-wrapper" unselectable="on" data-guid="1536938528777"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25518" 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="25518" 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="25518" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Friday, September 14, 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-25518"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25500" class="if-quote-wrapper" unselectable="on" data-guid="1536938528777"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25500" 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="25500" 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="25500" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, September 12, 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-25500"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25499" class="if-quote-wrapper" unselectable="on" data-guid="1536938528777"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25499" 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="25499" 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="25499" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Wednesday, September 12, 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-25499"&gt;&lt;div class="if-quote-message-margin"&gt;Hello Dave and all,&lt;br/&gt;&lt;br/&gt;I have a problem that I hope you can help me with. I want to use MID task on EEG however, I do not know how to write it in the script and how to connect with the paralell ports. I studied from the links on the millisecond, still unfortunately I am stuck. Can you please help me? It is my PhD thesis and I do not know how to deal with it.&lt;br/&gt;&lt;br/&gt;The script is attached.&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="25499"&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;First you need to decide when you want to signal what. Then you define &amp;lt;port&amp;gt; elements as needed, one per type of signal. Then you just "display" those &amp;lt;port&amp;gt; stimuli just like any other kind of stimulus (&amp;lt;text&amp;gt;, &amp;lt;shape&amp;gt;, &amp;lt;picture&amp;gt;, etc.) in the script, i.e. you put them in the &amp;lt;trial&amp;gt;s' /stimulustimes or -frames and/or insert them dynamically via the insertstimulustime() function, again just like is done with all the other stimulus elements in the script.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25500"&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;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thank you I think I displayed those &amp;lt;port&amp;gt; stimuli in the script (if I am not wrong). However, I couldn't put them&amp;nbsp;&lt;span style="color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the &amp;lt;trial&amp;gt;s' /stimulustimes&lt;span&gt;&amp;nbsp;. It just doesn't recognize port under &amp;lt;trials&amp;gt;.&amp;nbsp; Can you please have a look at my script?&lt;br/&gt;&lt;br/&gt;I really appreciate it.&lt;br/&gt;&lt;br/&gt;Özge&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25518"&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;&amp;gt; However, I couldn't put them&amp;nbsp;&lt;span style="color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the &amp;lt;trial&amp;gt;s' /stimulustimes&lt;span&gt;&amp;nbsp;. It just doesn't recognize port under &amp;lt;trials&amp;gt;.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;I have no idea what you mean here. Please elaborate.&lt;br/&gt;&lt;br/&gt;Again, to reiterate, &amp;lt;port&amp;gt; stimuli work exactly like any other stimuli. First, give your &amp;lt;port&amp;gt; elements useful names that DO NOT collide with any other stimulus names. E.g.&lt;br/&gt;&lt;br/&gt;Do NOT define&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;nonincentivecue&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (parameters.stimsize * 0.75, parameters.stimsize)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = red&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;and a port element of the same name, call it e.g.&lt;br/&gt;&lt;br/&gt;&amp;lt;port &lt;strong&gt;nonincentivecueeeg&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ port = LPT1&lt;br/&gt;/ subport = data&lt;br/&gt;/ items = ("00000011")&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Then, if you want to "display" or send the port signal at the same time as the cue &amp;lt;shape&amp;gt;, and a &amp;lt;port&amp;gt; signal along with the target, you do&lt;br/&gt;&lt;br/&gt;&amp;lt;trial nonincentive&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.incentive_condition = 2;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.iti=0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.targetduration = expressions.determineDuration;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.delayduration = list.delay.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.eraser, parameters.cueduration);&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.erasereeg, parameters.cueduration);&lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(shape.target, (parameters.cueduration + values.delayduration));&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.nonincentive.insertstimulustime(port.targeteeg, (parameters.cueduration + values.delayduration));&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0 = nonincentivecue, &lt;strong&gt;nonincentivecueeeg&lt;/strong&gt;, total]&lt;br/&gt;/ beginresponsetime = parameters.cueduration + values.delayduration&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ response = timeout(values.targetduration)&lt;br/&gt;/ validresponse = (parameters.responsekey)&lt;br/&gt;/ correctresponse = (parameters.responsekey)&lt;br/&gt;/ monkeyresponse = (parameters.responsekey)&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth for the rest.&lt;br/&gt;</description><pubDate>Fri, 14 Sep 2018 08:32:25 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25518.aspx</link><description>&lt;div data-id="25500" class="if-quote-wrapper" unselectable="on" data-guid="1536929702128"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25500" 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="25500" 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="25500" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, September 12, 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-25500"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25499" class="if-quote-wrapper" unselectable="on" data-guid="1536929702128"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25499" 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="25499" 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="25499" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Wednesday, September 12, 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-25499"&gt;&lt;div class="if-quote-message-margin"&gt;Hello Dave and all,&lt;br/&gt;&lt;br/&gt;I have a problem that I hope you can help me with. I want to use MID task on EEG however, I do not know how to write it in the script and how to connect with the paralell ports. I studied from the links on the millisecond, still unfortunately I am stuck. Can you please help me? It is my PhD thesis and I do not know how to deal with it.&lt;br/&gt;&lt;br/&gt;The script is attached.&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="25499"&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;First you need to decide when you want to signal what. Then you define &amp;lt;port&amp;gt; elements as needed, one per type of signal. Then you just "display" those &amp;lt;port&amp;gt; stimuli just like any other kind of stimulus (&amp;lt;text&amp;gt;, &amp;lt;shape&amp;gt;, &amp;lt;picture&amp;gt;, etc.) in the script, i.e. you put them in the &amp;lt;trial&amp;gt;s' /stimulustimes or -frames and/or insert them dynamically via the insertstimulustime() function, again just like is done with all the other stimulus elements in the script.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25500"&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;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thank you I think I displayed those &amp;lt;port&amp;gt; stimuli in the script (if I am not wrong). However, I couldn't put them&amp;nbsp;&lt;span style="color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the &amp;lt;trial&amp;gt;s' /stimulustimes&lt;span&gt;&amp;nbsp;. It just doesn't recognize port under &amp;lt;trials&amp;gt;.&amp;nbsp; Can you please have a look at my script?&lt;br/&gt;&lt;br/&gt;I really appreciate it.&lt;br/&gt;&lt;br/&gt;Özge&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;</description><pubDate>Fri, 14 Sep 2018 05:59:52 GMT</pubDate><dc:creator>Ozge</dc:creator></item><item><title>RE: Monetary Incentive Delay Task on EEG with Inquisit 4</title><link>https://forums.millisecond.com/Topic25500.aspx</link><description>&lt;div data-id="25499" class="if-quote-wrapper" unselectable="on" data-guid="1536763130483"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25499" 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="25499" 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="25499" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Ozge - Wednesday, September 12, 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-25499"&gt;&lt;div class="if-quote-message-margin"&gt;Hello Dave and all,&lt;br/&gt;&lt;br/&gt;I have a problem that I hope you can help me with. I want to use MID task on EEG however, I do not know how to write it in the script and how to connect with the paralell ports. I studied from the links on the millisecond, still unfortunately I am stuck. Can you please help me? It is my PhD thesis and I do not know how to deal with it.&lt;br/&gt;&lt;br/&gt;The script is attached.&lt;br/&gt;&lt;br/&gt;Thank you very much in advance.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="25499"&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;First you need to decide when you want to signal what. Then you define &amp;lt;port&amp;gt; elements as needed, one per type of signal. Then you just "display" those &amp;lt;port&amp;gt; stimuli just like any other kind of stimulus (&amp;lt;text&amp;gt;, &amp;lt;shape&amp;gt;, &amp;lt;picture&amp;gt;, etc.) in the script, i.e. you put them in the &amp;lt;trial&amp;gt;s' /stimulustimes or -frames and/or insert them dynamically via the insertstimulustime() function, again just like is done with all the other stimulus elements in the script.&lt;br/&gt;</description><pubDate>Wed, 12 Sep 2018 07:42:03 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>