﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 6  » Need help with me Experiment!</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 14 Sep 2026 10:41:27 GMT</lastBuildDate><ttl>20</ttl><item><title>Need help with me Experiment!</title><link>https://forums.millisecond.com/Topic35174.aspx</link><description>Hello there, I have very limited experience with Inquisit and am looking for advice&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;The idea here is participants would complete 48 trials per block. They would complete a letter search on each trial where they have to indicate whether the target letter x or n was present by pressing the up and right arrow key. The letter search is varied on load e.g., one block could be high or it could be low load.&lt;br/&gt;&lt;br/&gt;In my previous experiment we added a smell into these trials using Inquisit where a smell would be presented for the same time as the letter display, once participants made their response to the letter task I branched to the present or absent trial where they would indicate if the smell was present or absent with the p or a keys.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;In the new experiment participants will not know when the smell is going to be presented/unpredictable and the idea would be to have 5 different intensities of the same smell presented for 2 seconds in succession, the onset of the smells would start at the same time as the letter display in a random trial on each block and would carry on into other trials until participant responded or until the 10 seconds were over, so response would be measured from the moment the first smell begins even though this could be several trials later &amp;lt;- this is the bit I need help with!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I guess what I am asking is is it possible on Inquisit to have trials running parallel e.g. the smell trial and the letter task trial. The smell trials would last 10 seconds and&amp;nbsp;&lt;br/&gt;whereas the letter task trials would only last 2.6 seconds and I would need to record the response to the presence of the smell and the response to the letter task.&lt;br/&gt;&lt;br/&gt;I am sorry if this does not make sense and thanks for any help!!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 02 Feb 2023 16:24:42 GMT</pubDate><dc:creator>Claud_l</dc:creator></item><item><title>RE: Need help with me Experiment!</title><link>https://forums.millisecond.com/Topic35178.aspx</link><description>&lt;blockquote data-id="35177" class="if-quote-wrapper" unselectable="on" data-guid="1675354900288" id="if_insertedNode_1675354899377" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35177" 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="35177" 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="35177" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 2/2/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35177"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35176" class="if-quote-wrapper" unselectable="on" data-guid="1675354900288" id="if_insertedNode_1675346633780" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35176" 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="35176" 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="35176" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Claud_l - 2/2/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35176"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Thank you for your quick reply, are you aware of anything I could do to make this possible or potentially other software that allows me to do this&lt;a class="if-quote-goto quote-link" href="#" data-id="35176"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;What you'd basically&amp;nbsp; have to do, which will be very finicky, is have the letter search trials present both the smell intensities and collect responses for both the letter search and the smell detection, across multiple trials (starting from whatever random letter search trial initiates the smell). I.e. once you've determined the trial that's supposed to intiiate the smell, dynamically insert the 1st smell intensity stimulus at t0 in that trial and the 2nd intensity at t2000, in the following trial, insert the 3rd intensity at t1400, i.e. 2000 ms after the 2nd intensity was triggered in the previous trial. Then in the next trial, the 4th intensity ought to be inserted at t800, and in the search trial after, the 5th and final intensity at t200.&lt;br/&gt;&lt;br/&gt;Schematically:&lt;br/&gt;[code]absolute time&lt;br/&gt;smell:  00000----------02000----------04000----------06000----------08000&lt;br/&gt;        i1             i2             i3             i4             i5&lt;br/&gt;search: 00000-------------02600-------------05200-------------07800-------------10400&lt;br/&gt;        trial 1           trial 2           trial 3           trial 4           trial 5&lt;br/&gt;&lt;br/&gt;relative time&lt;br/&gt;smell:  00000----------02000----------01400----------00800----------00200&lt;br/&gt;        i1             i2             i3             i4             i5&lt;br/&gt;search: 00000-------------00000-------------00000-------------00000-------------00000&lt;br/&gt;        trial 1           trial 2           trial 3           trial 4           trial 5[/code]&lt;br/&gt;&lt;br/&gt;Throughout it all, you'd have to use /isvalidresponse logic to collect responses for both the letter search (target present vs target absent) and the smell detection. If the smell has been detected successfully in any of the trials, you would obviously not move on to present further smell intensity levels.&lt;br/&gt;&lt;br/&gt;The above is probably doable, but it's not entirely straightforward or easy.&lt;br/&gt;&lt;br/&gt;I cannot speak to other software.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35177"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Here's an example to illustrate the general idea outlined above.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;parameters&amp;gt;&lt;br/&gt;/ targetpresentkey = "P"&lt;br/&gt;/ targetabsentkey = "A"&lt;br/&gt;/ smellpresentkey = "S"&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ isTargetPresent = 0&lt;br/&gt;/ isSmellPresent = 0&lt;br/&gt;/ targetitem = 0&lt;br/&gt;/ searchtrialcount = 0&lt;br/&gt;/ letter_search_response = 0&lt;br/&gt;/ letter_search_latency = -1&lt;br/&gt;/ letter_search_correct = 0&lt;br/&gt;/ smelltrialcount = 0&lt;br/&gt;/ smellinittrial = 0&lt;br/&gt;/ smellinittime = 0&lt;br/&gt;/ smelldetected = false&lt;br/&gt;/ smelldetectiontime = -1&lt;br/&gt;/ smellfalsealarm = false&lt;br/&gt;/ smelldetectionlatency = -1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list targetpresent&amp;gt;&lt;br/&gt;/ items = (0, 1)&lt;br/&gt;/ poolsize = 48&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial letter_search&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// reset stimulus presentation sequence to original state&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.letter_search.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// increase trial counter &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.searchtrialcount += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// reset some variables&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smellfalsealarm = 0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.letter_search_response = 0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.letter_search_latency = 0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.letter_search_correct = 0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// determine if letter search target is present&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.isTargetPresent = list.targetpresent.nextvalue; &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.targetitem = values.isTargetPresent + 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// check if we ought to initiate the smell in this trial&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.searchtrialcount == values.smellinittrial) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.isSmellPresent = true; // set smell presence flag to true&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smellinittime = script.elapsedtime; // record the time&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// count the "smell" trials&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.isSmellPresent) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smelltrialcount += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// after we're done with the "smell" trials&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.smelltrialcount &amp;gt; 4) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.isSmellPresent = false; // set the smell presence flag back to false&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smelltrialcount = 0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// insert the different smell intensities at the appropriate times across 4 consecutive trials,&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// such that there's an approx. 2000ms gap between consecutive intensity levels&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.smelltrialcount == 1 &amp;amp;&amp;amp; values.smelldetected == false) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.letter_search.insertstimulustime(text.smellintensity1, 0);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.letter_search.insertstimulustime(text.smellintensity2, 2000);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (values.smelltrialcount == 2 &amp;amp;&amp;amp; values.smelldetected == false) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.letter_search.insertstimulustime(text.smellintensity3, 1400);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (values.smelltrialcount == 3 &amp;amp;&amp;amp; values.smelldetected == false) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.letter_search.insertstimulustime(text.smellintensity4, 800);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (values.smelltrialcount == 4 &amp;amp;&amp;amp; values.smelldetected == false) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.letter_search.insertstimulustime(text.smellintensity5, 200);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0=letter_string, debug]&lt;br/&gt;/ validresponse = (parameters.targetpresentkey, parameters.targetabsentkey, parameters.smellpresentkey)&lt;br/&gt;/ isvalidresponse = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// is smell is present and participant indicates so&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.isSmellPresent == true &amp;amp;&amp;amp; trial.letter_search.responsetext == parameters.smellpresentkey) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smelldetected = true; // set the detection flag to true&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smelldetectiontime = script.elapsedtime; // record the time of the detection&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.smelldetectiontime &amp;gt; 0) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smelldetectionlatency = values.smelldetectiontime - values.smellinittime; // calculate the latency as difference between detection and initiation time&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// if smell is absent, but participant indicates presence of smell nonetheless&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.isSmellPresent == false &amp;amp;&amp;amp; trial.letter_search.responsetext == parameters.smellpresentkey) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smellfalsealarm = true; // we have a false alarm&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// deal with the responses to the main letter search task&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (trial.letter_search.responsetext == parameters.targetpresentkey || trial.letter_search.responsetext == parameters.targetabsentkey) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.letter_search_response = trial.letter_search.responsetext;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.letter_search_latency = trial.letter_search.latency;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ((values.isTargetPresent == true &amp;amp;&amp;amp; trial.letter_search.responsetext == parameters.targetpresentkey) || (values.isTargetPresent == false &amp;amp;&amp;amp; trial.letter_search.responsetext == parameters.targetabsentkey)){&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.letter_search_correct = true;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ trialduration = 2600&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text letter_string&amp;gt;&lt;br/&gt;/ items = ("Target is absent", "Target is present")&lt;br/&gt;/ select = values.targetitem&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text debug&amp;gt;&lt;br/&gt;/ items = ("Trial #&amp;lt;%values.searchtrialcount%&amp;gt;")&lt;br/&gt;/ txcolor = red&lt;br/&gt;/ erase = false&lt;br/&gt;/ position = (50%, 90%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text smellintensity1&amp;gt;&lt;br/&gt;/ items = ("SMELL INTENSITY 1")&lt;br/&gt;/ txcolor = red&lt;br/&gt;/ erase = false&lt;br/&gt;/ position = (50%, 10%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text smellintensity2&amp;gt;&lt;br/&gt;/ items = ("SMELL INTENSITY 2")&lt;br/&gt;/ txcolor = red&lt;br/&gt;/ erase = false&lt;br/&gt;/ position = (50%, 10%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text smellintensity3&amp;gt;&lt;br/&gt;/ items = ("SMELL INTENSITY 3")&lt;br/&gt;/ txcolor = red&lt;br/&gt;/ erase = false&lt;br/&gt;/ position = (50%, 10%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text smellintensity4&amp;gt;&lt;br/&gt;/ items = ("SMELL INTENSITY 4")&lt;br/&gt;/ txcolor = red&lt;br/&gt;/ erase = false&lt;br/&gt;/ position = (50%, 10%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text smellintensity5&amp;gt;&lt;br/&gt;/ items = ("SMELL INTENSITY 5")&lt;br/&gt;/ txcolor = red&lt;br/&gt;/ erase = false&lt;br/&gt;/ position = (50%, 10%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block exampleblock&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smellinittrial = round(rand(7, 20)); // pick random trial that should initiate the smell&lt;br/&gt;]&lt;br/&gt;/ trials = [1-48 = letter_search]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = (date time subject group session blocknum blockcode trialnum trialcode &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.isTargetPresent values.letter_search_response values.letter_search_latency values.letter_search_correct&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.isSmellPresent values.smelldetected values.smellinittime values.smelldetectiontime values.smelldetectionlatency&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.smellfalsealarm values.smellinittrial values.smelltrialcount)&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;[/code]</description><pubDate>Thu, 02 Feb 2023 16:24:42 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Need help with me Experiment!</title><link>https://forums.millisecond.com/Topic35177.aspx</link><description>&lt;blockquote data-id="35176" class="if-quote-wrapper" unselectable="on" data-guid="1675346634439" id="if_insertedNode_1675346633780" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35176" 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="35176" 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="35176" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Claud_l - 2/2/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35176"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Thank you for your quick reply, are you aware of anything I could do to make this possible or potentially other software that allows me to do this&lt;a class="if-quote-goto quote-link" href="#" data-id="35176"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;What you'd basically&amp;nbsp; have to do, which will be very finicky, is have the letter search trials present both the smell intensities and collect responses for both the letter search and the smell detection, across multiple trials (starting from whatever random letter search trial initiates the smell). I.e. once you've determined the trial that's supposed to intiiate the smell, dynamically insert the 1st smell intensity stimulus at t0 in that trial and the 2nd intensity at t2000, in the following trial, insert the 3rd intensity at t1400, i.e. 2000 ms after the 2nd intensity was triggered in the previous trial. Then in the next trial, the 4th intensity ought to be inserted at t800, and in the search trial after, the 5th and final intensity at t200.&lt;br/&gt;&lt;br/&gt;Schematically:&lt;br/&gt;[code]absolute time&lt;br/&gt;smell:  00000----------02000----------04000----------06000----------08000&lt;br/&gt;        i1             i2             i3             i4             i5&lt;br/&gt;search: 00000-------------02600-------------05200-------------07800-------------10400&lt;br/&gt;        trial 1           trial 2           trial 3           trial 4           trial 5&lt;br/&gt;&lt;br/&gt;relative time&lt;br/&gt;smell:  00000----------02000----------01400----------00800----------00200&lt;br/&gt;        i1             i2             i3             i4             i5&lt;br/&gt;search: 00000-------------00000-------------00000-------------00000-------------00000&lt;br/&gt;        trial 1           trial 2           trial 3           trial 4           trial 5[/code]&lt;br/&gt;&lt;br/&gt;Throughout it all, you'd have to use /isvalidresponse logic to collect responses for both the letter search (target present vs target absent) and the smell detection. If the smell has been detected successfully in any of the trials, you would obviously not move on to present further smell intensity levels.&lt;br/&gt;&lt;br/&gt;The above is probably doable, but it's not entirely straightforward or easy.&lt;br/&gt;&lt;br/&gt;I cannot speak to other software.&lt;br/&gt;</description><pubDate>Thu, 02 Feb 2023 14:29:50 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Need help with me Experiment!</title><link>https://forums.millisecond.com/Topic35176.aspx</link><description>Thank you for your quick reply, are you aware of anything I could do to make this possible or potentially other software that allows me to do this</description><pubDate>Thu, 02 Feb 2023 14:02:06 GMT</pubDate><dc:creator>Claud_l</dc:creator></item><item><title>RE: Need help with me Experiment!</title><link>https://forums.millisecond.com/Topic35175.aspx</link><description>&lt;blockquote data-id="35174" class="if-quote-wrapper" unselectable="on" data-guid="1675344938714" id="if_insertedNode_1675344937857" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35174" 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="35174" 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="35174" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Claud_l - 2/2/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35174"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello there, I have very limited experience with Inquisit and am looking for advice&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;The idea here is participants would complete 48 trials per block. They would complete a letter search on each trial where they have to indicate whether the target letter x or n was present by pressing the up and right arrow key. The letter search is varied on load e.g., one block could be high or it could be low load.&lt;br/&gt;&lt;br/&gt;In my previous experiment we added a smell into these trials using Inquisit where a smell would be presented for the same time as the letter display, once participants made their response to the letter task I branched to the present or absent trial where they would indicate if the smell was present or absent with the p or a keys.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;In the new experiment participants will not know when the smell is going to be presented/unpredictable and the idea would be to have 5 different intensities of the same smell presented for 2 seconds in succession, the onset of the smells would start at the same time as the letter display in a random trial on each block and would carry on into other trials until participant responded or until the 10 seconds were over, so response would be measured from the moment the first smell begins even though this could be several trials later &amp;lt;- this is the bit I need help with!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I guess what I am asking is is it possible on Inquisit to have trials running parallel e.g. the smell trial and the letter task trial. The smell trials would last 10 seconds and&amp;nbsp;&lt;br/&gt;whereas the letter task trials would only last 2.6 seconds and I would need to record the response to the presence of the smell and the response to the letter task.&lt;br/&gt;&lt;br/&gt;I am sorry if this does not make sense and thanks for any help!!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35174"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;&amp;gt; I guess what I am asking is is it possible on Inquisit to have trials running parallel e.g. the smell trial and the letter task trial.&lt;br/&gt;&lt;br/&gt;No, it is &lt;strong&gt;not &lt;/strong&gt;possible to have trials run in parallel, so unfortunately I don't think this is doable.&lt;br/&gt;</description><pubDate>Thu, 02 Feb 2023 13:38:46 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>