﻿<?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  » replacenot crashing experiment</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 10 Sep 2026 19:54:40 GMT</lastBuildDate><ttl>20</ttl><item><title>replacenot crashing experiment</title><link>https://forums.millisecond.com/Topic33589.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;Seems that the /select = replacenot command is crashing the experiment.&lt;br/&gt;&lt;br/&gt;I have a single trial, before the start of an experiment, that does nothing but display a video.&lt;br/&gt;&lt;br/&gt;The video's are looped gifs turned into mpg (to work on both mac and windows), so I have tried the loop function, but it loops endlessly and passed the 60 second timeout, regardless of using timeout (which is probably the main issue).&lt;br/&gt;&lt;br/&gt;I would like to have a single video from the video item's list displayed, but the video is too short for what I am looking for (15 seconds, when I need 60). Instead of taking the video and cut/pasting it x4 in some movie editor (I was worried about file size here), I was going to just display the same video four times using: / stimulustimes = [0 = high; 15000 = high; 30000 = high; 45000 = high].&lt;br/&gt;&lt;br/&gt;Using replacenot, I believe I can have it pick the initial video that it selected, then have it replayed to reach 60 second. But this crashes the experiment when I use it.&lt;br/&gt;&lt;br/&gt;I'm probably making this much more difficult than it needs to be...&lt;br/&gt;&lt;br/&gt;&amp;lt;video high&amp;gt;&lt;br/&gt;/ items = ("video1.mpg", "video2.mpg", "video3.mpg", "video4.mpg")&lt;br/&gt;/ playthrough = true&lt;br/&gt;/ select = replacenot(high)&lt;br/&gt;/ size = (parameters.picSize, parameters.picSize)&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial displayvideo&amp;gt;&lt;br/&gt;/ beginresponsetime = [0]&lt;br/&gt;/ stimulustimes = [0 = high; 15000 = high; 30000 = high; 45000 = high]&lt;br/&gt;/ timeout = 60000&lt;br/&gt;&amp;lt;/trial&amp;gt;</description><pubDate>Thu, 09 Dec 2021 20:16:36 GMT</pubDate><dc:creator>swifty_the_fox</dc:creator></item><item><title>RE: replacenot crashing experiment</title><link>https://forums.millisecond.com/Topic33595.aspx</link><description>&lt;blockquote data-id="33594" class="if-quote-wrapper" unselectable="on" data-guid="1639079140328" contenteditable="false" id="if_insertedNode_1639079139909"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33594" 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="33594" 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="33594" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 12/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33594"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33593" class="if-quote-wrapper" unselectable="on" data-guid="1639079140328" id="if_insertedNode_1639076820998" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33593" 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="33593" 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="33593" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;swifty_the_fox - 12/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33593"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;The suggested code worked :) Thank you.&lt;br/&gt;&lt;br/&gt;Was the loop not ending because I had playthrough = true?&lt;a class="if-quote-goto quote-link" href="#" data-id="33593"&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; Was the loop not ending because I had playthrough = true?&lt;br/&gt;&lt;br/&gt;I don't have the videos nor the exact code you used when you observed things going past the timeout, so I cannot really say. /playthrough=true forces the video to play to completion, regardless of what the timeout or trialduration is, i.e. you can do something like&lt;br/&gt;&lt;br/&gt;&amp;lt;video examplevideo&amp;gt;&lt;br/&gt;/ items = ("20_seconds_of_cute_cats.mp4")&lt;br/&gt;/ playthrough = true&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial exampletrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=examplevideo]&lt;br/&gt;/ timeout = 100&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and the trial will only end once the video is over, not after 100 milliseconds. This is by design. So, in your case, my guess is that the videos are actually a little shorter than 15 seconds and a 5th loop had already begun shortly before the 60 second timeout lapsed. That 5th loop then would have been completed due to the playthrough=true setting, causing the trial to go beyond the set timeout.&lt;br/&gt;&lt;br/&gt;One final note: MPG is not the best format choice these days, it's fairly dated by now. I'd recommend going with H.264 encoded MP4s for all platforms.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33594"&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;Ahhh, that makes sense. Thank you!&lt;br/&gt;&lt;br/&gt;And also thank you for the format suggestion :)&lt;br/&gt;</description><pubDate>Thu, 09 Dec 2021 20:16:36 GMT</pubDate><dc:creator>swifty_the_fox</dc:creator></item><item><title>RE: replacenot crashing experiment</title><link>https://forums.millisecond.com/Topic33594.aspx</link><description>&lt;blockquote data-id="33593" class="if-quote-wrapper" unselectable="on" data-guid="1639076821578" id="if_insertedNode_1639076820998" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33593" 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="33593" 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="33593" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;swifty_the_fox - 12/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33593"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;The suggested code worked :) Thank you.&lt;br/&gt;&lt;br/&gt;Was the loop not ending because I had playthrough = true?&lt;a class="if-quote-goto quote-link" href="#" data-id="33593"&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; Was the loop not ending because I had playthrough = true?&lt;br/&gt;&lt;br/&gt;I don't have the videos nor the exact code you used when you observed things going past the timeout, so I cannot really say. /playthrough=true forces the video to play to completion, regardless of what the timeout or trialduration is, i.e. you can do something like&lt;br/&gt;&lt;br/&gt;&amp;lt;video examplevideo&amp;gt;&lt;br/&gt;/ items = ("20_seconds_of_cute_cats.mp4")&lt;br/&gt;/ playthrough = true&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial exampletrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=examplevideo]&lt;br/&gt;/ timeout = 100&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and the trial will only end once the video is over, not after 100 milliseconds. This is by design. So, in your case, my guess is that the videos are actually a little shorter than 15 seconds and a 5th loop had already begun shortly before the 60 second timeout lapsed. That 5th loop then would have been completed due to the playthrough=true setting, causing the trial to go beyond the set timeout.&lt;br/&gt;&lt;br/&gt;One final note: MPG is not the best format choice these days, it's fairly dated by now. I'd recommend going with H.264 encoded MP4s for all platforms.&lt;br/&gt;</description><pubDate>Thu, 09 Dec 2021 19:17:17 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: replacenot crashing experiment</title><link>https://forums.millisecond.com/Topic33593.aspx</link><description>The suggested code worked :) Thank you.&lt;br/&gt;&lt;br/&gt;Was the loop not ending because I had playthrough = true?</description><pubDate>Thu, 09 Dec 2021 19:05:36 GMT</pubDate><dc:creator>swifty_the_fox</dc:creator></item><item><title>RE: replacenot crashing experiment</title><link>https://forums.millisecond.com/Topic33592.aspx</link><description>&lt;blockquote data-id="33590" class="if-quote-wrapper" unselectable="on" data-guid="1639076138804" contenteditable="false" id="if_insertedNode_1639076138427"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33590" 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="33590" 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="33590" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 12/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33590"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33589" class="if-quote-wrapper" unselectable="on" data-guid="1639076138804" id="if_insertedNode_1639075766316" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33589" 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="33589" 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="33589" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;swifty_the_fox - 12/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33589"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;Seems that the /select = replacenot command is crashing the experiment.&lt;br/&gt;&lt;br/&gt;I have a single trial, before the start of an experiment, that does nothing but display a video.&lt;br/&gt;&lt;br/&gt;The video's are looped gifs turned into mpg (to work on both mac and windows), so I have tried the loop function, but it loops endlessly and passed the 60 second timeout, regardless of using timeout (which is probably the main issue).&lt;br/&gt;&lt;br/&gt;I would like to have a single video from the video item's list displayed, but the video is too short for what I am looking for (15 seconds, when I need 60). Instead of taking the video and cut/pasting it x4 in some movie editor (I was worried about file size here), I was going to just display the same video four times using: / stimulustimes = [0 = high; 15000 = high; 30000 = high; 45000 = high].&lt;br/&gt;&lt;br/&gt;Using replacenot, I believe I can have it pick the initial video that it selected, then have it replayed to reach 60 second. But this crashes the experiment when I use it.&lt;br/&gt;&lt;br/&gt;I'm probably making this much more difficult than it needs to be...&lt;br/&gt;&lt;br/&gt;&amp;lt;video high&amp;gt;&lt;br/&gt;/ items = ("video1.mpg", "video2.mpg", "video3.mpg", "video4.mpg")&lt;br/&gt;/ playthrough = true&lt;br/&gt;/ select = replacenot(high)&lt;br/&gt;/ size = (parameters.picSize, parameters.picSize)&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial displayvideo&amp;gt;&lt;br/&gt;/ beginresponsetime = [0]&lt;br/&gt;/ stimulustimes = [0 = high; 15000 = high; 30000 = high; 45000 = high]&lt;br/&gt;/ timeout = 60000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33589"&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;It's crashing because with&lt;br/&gt;&lt;br/&gt;&amp;lt;video &lt;strong&gt;high&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ items = ("video1.mpg", "video2.mpg", "video3.mpg", "video4.mpg")&lt;br/&gt;/ playthrough = true&lt;br/&gt;/ select = replacenot(&lt;strong&gt;high&lt;/strong&gt;)&lt;br/&gt;/ size = (parameters.picSize, parameters.picSize)&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;you have made a circular reference.&lt;strong&gt; You've instructed &amp;lt;video high&amp;gt; to not select the item selected by &amp;lt;video high&lt;/strong&gt;&amp;gt;, which of course cannot possibly work.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33590"&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;Thank you for your reply!&lt;br/&gt;&lt;br/&gt;Interesting, it does not crash when I use noreplacenot. Shouldn't that also cause it to crash?</description><pubDate>Thu, 09 Dec 2021 19:00:54 GMT</pubDate><dc:creator>swifty_the_fox</dc:creator></item><item><title>RE: replacenot crashing experiment</title><link>https://forums.millisecond.com/Topic33591.aspx</link><description>&lt;blockquote data-id="33590" class="if-quote-wrapper" unselectable="on" data-guid="1639076280584" id="if_insertedNode_1639076279929" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33590" 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="33590" 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="33590" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 12/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33590"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33589" class="if-quote-wrapper" unselectable="on" data-guid="1639076280584" id="if_insertedNode_1639075766316" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33589" 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="33589" 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="33589" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;swifty_the_fox - 12/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33589"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;Seems that the /select = replacenot command is crashing the experiment.&lt;br/&gt;&lt;br/&gt;I have a single trial, before the start of an experiment, that does nothing but display a video.&lt;br/&gt;&lt;br/&gt;The video's are looped gifs turned into mpg (to work on both mac and windows), so I have tried the loop function, but it loops endlessly and passed the 60 second timeout, regardless of using timeout (which is probably the main issue).&lt;br/&gt;&lt;br/&gt;I would like to have a single video from the video item's list displayed, but the video is too short for what I am looking for (15 seconds, when I need 60). Instead of taking the video and cut/pasting it x4 in some movie editor (I was worried about file size here), I was going to just display the same video four times using: / stimulustimes = [0 = high; 15000 = high; 30000 = high; 45000 = high].&lt;br/&gt;&lt;br/&gt;Using replacenot, I believe I can have it pick the initial video that it selected, then have it replayed to reach 60 second. But this crashes the experiment when I use it.&lt;br/&gt;&lt;br/&gt;I'm probably making this much more difficult than it needs to be...&lt;br/&gt;&lt;br/&gt;&amp;lt;video high&amp;gt;&lt;br/&gt;/ items = ("video1.mpg", "video2.mpg", "video3.mpg", "video4.mpg")&lt;br/&gt;/ playthrough = true&lt;br/&gt;/ select = replacenot(high)&lt;br/&gt;/ size = (parameters.picSize, parameters.picSize)&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial displayvideo&amp;gt;&lt;br/&gt;/ beginresponsetime = [0]&lt;br/&gt;/ stimulustimes = [0 = high; 15000 = high; 30000 = high; 45000 = high]&lt;br/&gt;/ timeout = 60000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33589"&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;It's crashing because with&lt;br/&gt;&lt;br/&gt;&amp;lt;video &lt;strong&gt;high&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ items = ("video1.mpg", "video2.mpg", "video3.mpg", "video4.mpg")&lt;br/&gt;/ playthrough = true&lt;br/&gt;/ select = replacenot(&lt;strong&gt;high&lt;/strong&gt;)&lt;br/&gt;/ size = (parameters.picSize, parameters.picSize)&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;you have made a circular reference.&lt;strong&gt; You've instructed &amp;lt;video high&amp;gt; to not select the item selected by &amp;lt;video high&lt;/strong&gt;&amp;gt;, which of course cannot possibly work.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33590"&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;lt;video high&amp;gt;&lt;br/&gt;/ items = ("video1.mpg", "video2.mpg", "video3.mpg", "video4.mpg")&lt;br/&gt;/ playthrough = false&lt;br/&gt;/ loop = true&lt;br/&gt;/ size = (parameters.picSize, parameters.picSize)&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;with &lt;br/&gt;&lt;br/&gt;&amp;lt;trial displayvideo&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = high]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = 60000&lt;br/&gt;&amp;lt;/trial&amp;gt; &lt;br/&gt;&lt;br/&gt;should be all you need.</description><pubDate>Thu, 09 Dec 2021 18:58:32 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: replacenot crashing experiment</title><link>https://forums.millisecond.com/Topic33590.aspx</link><description>&lt;blockquote data-id="33589" class="if-quote-wrapper" unselectable="on" data-guid="1639075767316" id="if_insertedNode_1639075766316" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33589" 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="33589" 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="33589" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;swifty_the_fox - 12/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33589"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;Seems that the /select = replacenot command is crashing the experiment.&lt;br/&gt;&lt;br/&gt;I have a single trial, before the start of an experiment, that does nothing but display a video.&lt;br/&gt;&lt;br/&gt;The video's are looped gifs turned into mpg (to work on both mac and windows), so I have tried the loop function, but it loops endlessly and passed the 60 second timeout, regardless of using timeout (which is probably the main issue).&lt;br/&gt;&lt;br/&gt;I would like to have a single video from the video item's list displayed, but the video is too short for what I am looking for (15 seconds, when I need 60). Instead of taking the video and cut/pasting it x4 in some movie editor (I was worried about file size here), I was going to just display the same video four times using: / stimulustimes = [0 = high; 15000 = high; 30000 = high; 45000 = high].&lt;br/&gt;&lt;br/&gt;Using replacenot, I believe I can have it pick the initial video that it selected, then have it replayed to reach 60 second. But this crashes the experiment when I use it.&lt;br/&gt;&lt;br/&gt;I'm probably making this much more difficult than it needs to be...&lt;br/&gt;&lt;br/&gt;&amp;lt;video high&amp;gt;&lt;br/&gt;/ items = ("video1.mpg", "video2.mpg", "video3.mpg", "video4.mpg")&lt;br/&gt;/ playthrough = true&lt;br/&gt;/ select = replacenot(high)&lt;br/&gt;/ size = (parameters.picSize, parameters.picSize)&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial displayvideo&amp;gt;&lt;br/&gt;/ beginresponsetime = [0]&lt;br/&gt;/ stimulustimes = [0 = high; 15000 = high; 30000 = high; 45000 = high]&lt;br/&gt;/ timeout = 60000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33589"&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;It's crashing because with&lt;br/&gt;&lt;br/&gt;&amp;lt;video &lt;strong&gt;high&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ items = ("video1.mpg", "video2.mpg", "video3.mpg", "video4.mpg")&lt;br/&gt;/ playthrough = true&lt;br/&gt;/ select = replacenot(&lt;strong&gt;high&lt;/strong&gt;)&lt;br/&gt;/ size = (parameters.picSize, parameters.picSize)&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;you have made a circular reference.&lt;strong&gt; You've instructed &amp;lt;video high&amp;gt; to not select the item selected by &amp;lt;video high&lt;/strong&gt;&amp;gt;, which of course cannot possibly work.&lt;br/&gt;</description><pubDate>Thu, 09 Dec 2021 18:51:08 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>