﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » stimuli disappearing on response</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 08 Sep 2026 16:32:46 GMT</lastBuildDate><ttl>20</ttl><item><title>stimuli disappearing on response</title><link>https://forums.millisecond.com/Topic21950.aspx</link><description>Hi!&lt;br/&gt;Long time listener first time caller. I'm hoping you can help me. I'm running 5.0.7&lt;br/&gt;I'm writing a script to record responses to a face stimulus.&amp;nbsp;&lt;br/&gt;Participants see the face for 500ms, then a fixation cross for 1500ms. I want the stimuli displayed for the whole time.&lt;br/&gt;For some reason the picture disappears when you respond, and if you respond once the fixation cross is up, the fixation cross disappears.&lt;br/&gt;I've followed the advice posted here but to no avail&amp;nbsp;&lt;a href="https://www.millisecond.com/forums/Topic9656.aspx?Keywords=stimulus"&gt;https://www.millisecond.com/forums/Topic9656.aspx?Keywords=stimulus&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;here are the relevant elements. I've attached the entire script as well.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial surprise_trial_F_pos_o1&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.currentpic_number = values.currentpic_number +1&lt;br/&gt;]&lt;br/&gt;/stimulustimes = [1=faces_picture_o1, reminder_F_pos; 500 = occluder,text.FixBlack_text_no_erase]&lt;br/&gt;/responseinterrupt = trial&lt;br/&gt;/validresponse =("f", "j")&lt;br/&gt;/ correctresponse = ("f")&lt;br/&gt;/trialduration = 2000&lt;br/&gt;/ beginresponsetime = -1&lt;br/&gt;/ontrialend = [&lt;br/&gt;if (trial.surprise_trial_F_pos_o1.correct)&lt;br/&gt;values.surprise_pos_rating = values.surprise_pos_rating +1;&lt;br/&gt;else {&lt;br/&gt;values.surprise_neg_rating = values.surprise_neg_rating +1;&lt;br/&gt;values.block_surprise_neg_rating = values.block_surprise_neg_rating +1}&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture faces_picture_o1&amp;gt;&lt;br/&gt;/items = faces_items_o1&lt;br/&gt;/select = values.currentpic_number&lt;br/&gt;/width = 75%&lt;br/&gt;/height = 75%&lt;br/&gt;/erase = false&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text FixBlack_text_no_erase&amp;gt;&lt;br/&gt;/ items = Fixation_item&lt;br/&gt;/ fontstyle = ("arial", -150, false, false, false, false)&lt;br/&gt;/erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;Would really appreciate any help,&amp;nbsp;&lt;br/&gt;Cheers,&amp;nbsp;&lt;br/&gt;Nick</description><pubDate>Fri, 23 Jun 2017 08:49:01 GMT</pubDate><dc:creator>NickLevy1990</dc:creator></item><item><title>RE: stimuli disappearing on response</title><link>https://forums.millisecond.com/Topic21954.aspx</link><description>&lt;div data-id="21950" class="if-quote-wrapper" unselectable="on" data-guid="1498232279992"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21950" 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="21950" 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="21950" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;NickLevy1990 - Thursday, June 22, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21950"&gt;&lt;div class="if-quote-message-margin"&gt;Hi!&lt;br/&gt;Long time listener first time caller. I'm hoping you can help me. I'm running 5.0.7&lt;br/&gt;I'm writing a script to record responses to a face stimulus.&amp;nbsp;&lt;br/&gt;Participants see the face for 500ms, then a fixation cross for 1500ms. I want the stimuli displayed for the whole time.&lt;br/&gt;For some reason the picture disappears when you respond, and if you respond once the fixation cross is up, the fixation cross disappears.&lt;br/&gt;I've followed the advice posted here but to no avail&amp;nbsp;&lt;a href="https://www.millisecond.com/forums/Topic9656.aspx?Keywords=stimulus"&gt;&lt;a href="https://www.millisecond.com/forums/Topic9656.aspx?Keywords=stimulus"&gt;https://www.millisecond.com/forums/Topic9656.aspx?Keywords=stimulus&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;here are the relevant elements. I've attached the entire script as well.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial surprise_trial_F_pos_o1&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.currentpic_number = values.currentpic_number +1&lt;br/&gt;]&lt;br/&gt;/stimulustimes = [1=faces_picture_o1, reminder_F_pos; 500 = occluder,text.FixBlack_text_no_erase]&lt;br/&gt;/responseinterrupt = trial&lt;br/&gt;/validresponse =("f", "j")&lt;br/&gt;/ correctresponse = ("f")&lt;br/&gt;/trialduration = 2000&lt;br/&gt;/ beginresponsetime = -1&lt;br/&gt;/ontrialend = [&lt;br/&gt;if (trial.surprise_trial_F_pos_o1.correct)&lt;br/&gt;values.surprise_pos_rating = values.surprise_pos_rating +1;&lt;br/&gt;else {&lt;br/&gt;values.surprise_neg_rating = values.surprise_neg_rating +1;&lt;br/&gt;values.block_surprise_neg_rating = values.block_surprise_neg_rating +1}&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture faces_picture_o1&amp;gt;&lt;br/&gt;/items = faces_items_o1&lt;br/&gt;/select = values.currentpic_number&lt;br/&gt;/width = 75%&lt;br/&gt;/height = 75%&lt;br/&gt;/erase = false&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text FixBlack_text_no_erase&amp;gt;&lt;br/&gt;/ items = Fixation_item&lt;br/&gt;/ fontstyle = ("arial", -150, false, false, false, false)&lt;br/&gt;/erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;Would really appreciate any help,&amp;nbsp;&lt;br/&gt;Cheers,&amp;nbsp;&lt;br/&gt;Nick&lt;a class="if-quote-goto quote-link" href="#" data-id="21950"&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; For some reason the picture disappears when you respond, and if you respond once the fixation cross is up, the fixation cross disappears.&lt;br/&gt;&lt;br/&gt;&amp;lt;picture occluder&amp;gt;&lt;br/&gt;/items = occluder&lt;br/&gt;/select = 1&lt;br/&gt;/width = 100%&lt;br/&gt;/height = 100%&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;needs to be set to /erase=false as well&lt;br/&gt;&lt;br/&gt;&amp;lt;picture occluder&amp;gt;&lt;br/&gt;/items = occluder&lt;br/&gt;/select = 1&lt;br/&gt;/width = 100%&lt;br/&gt;/height = 100%&lt;br/&gt;&lt;strong&gt;/ erase = false&lt;/strong&gt;&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;and while I'm unable to reproduce "For some reason the picture disappears when you respond", try setting the &amp;lt;trial&amp;gt;'s /responseinterrupt to frames instead of trial.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial surprise_trial_F_pos_o1&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.currentpic_number = values.currentpic_number +1&lt;br/&gt;]&lt;br/&gt;/stimulustimes = [1=faces_picture_o1, reminder_F_pos; 500 = occluder,text.FixBlack_text_no_erase]&lt;br/&gt;&lt;strong&gt;/responseinterrupt = frames&lt;/strong&gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;</description><pubDate>Fri, 23 Jun 2017 08:49:01 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>