<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>OpenSesame — Forum</title>
        <link>https://forum.cogsci.nl/</link>
        <pubDate>Mon, 15 Jun 2026 20:25:41 +0000</pubDate>
        <language>en</language>
            <description>OpenSesame — Forum</description>
    <atom:link href="https://forum.cogsci.nl/categories/opensesame/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>EEG triggers using parallel_port_trigger plug-in</title>
        <link>https://forum.cogsci.nl/discussion/10146/eeg-triggers-using-parallel-port-trigger-plug-in</link>
        <pubDate>Tue, 09 Jun 2026 14:46:01 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>elinora18</dc:creator>
        <guid isPermaLink="false">10146@/discussions</guid>
        <description><![CDATA[<p><strong>OpenSesame version</strong></p><p>4.1.9</p><p><strong>Operating system</strong></p><p>Windows 10</p><p><strong>Backend</strong></p><p>PsychoPy</p><p><strong>Expected behavior</strong></p><p>I am using the parallel_port_trigger plug-in for an EEG experiment. I inserted the plug-in before the relevant stimulus, which is presented on a sketchpad item. To test the precision of the appearance of the trigger, I also added a small black rectangle at the bottom of the screen and attached a photo diode to the screen. Ideally, the rising of the photo diode signal would begin with the trigger.</p><p><strong>Actual behavior (what goes wrong)</strong></p><p>There is a delay between the rising of the photo diode signal and the trigger. Specifically, the trigger appears 80-90 ms prior to the rising of the photo diode.</p><p><strong>Error messages (if any)</strong></p><p>None.</p><p><strong>What did you try already?</strong></p><p>Nothing much, since I don&#39;t know if this is the standard with EEG experiments on OpenSesame and whether there is anything to be done in this case or whether the only solution is adjustment of trigger timing during data preprocessing.</p><p><strong>Experiment file (optional)</strong></p>]]>
        </description>
    </item>
    <item>
        <title>[wishlist] What would you like to see in OpenSesame?</title>
        <link>https://forum.cogsci.nl/discussion/284/wishlist-what-would-you-like-to-see-in-opensesame</link>
        <pubDate>Wed, 09 Jan 2013 16:22:17 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>Christiane</dc:creator>
        <guid isPermaLink="false">284@/discussions</guid>
        <description><![CDATA[<p>Dear Sebastiaan,</p>

<p>would it be possible to add some additional features to the loop table editor, for example find/replace and undo. Of course I know that this is possible to do with external applications but it would just be so much more convenient and time effective to have these functions build into open sesame!</p>

<p>Thanks a lot for your consideration!</p>

<p>Kind regards!<br />
Christiane</p>
]]>
        </description>
    </item>
    <item>
        <title>Sending simultaneous triggers</title>
        <link>https://forum.cogsci.nl/discussion/10136/sending-simultaneous-triggers</link>
        <pubDate>Fri, 29 May 2026 14:42:50 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>stoney</dc:creator>
        <guid isPermaLink="false">10136@/discussions</guid>
        <description><![CDATA[<p><strong>OpenSesame version 4.1.9</strong></p><p><strong>Operating system Windows 10</strong></p><p><strong>Backend </strong>Expyriment </p><p>I hope this is a relatively straightforward coding question - I have to send triggers via a break-out box which is connected to the presentation PC&#39;s parallel port with a coax cable. The break-out box has 4 input ports, which I can use to send triggers with different codes. But I *think* the ports need to have Open Sesame triggers sent simultaneously to make different combinations, e.g., from the documentation:</p><p>Port 1 alone: Event number = 1</p><p>Port 1 and port 2 binary number: 3</p><p>Port 1 and port 3 binary number: 5</p><p>Port 1 and port 5 binary number: 9</p><p>I would like to test whether this is true anyway, but I&#39;m not sure how to send triggers simultaneously from Open Sesame. My trigger set-up is this:</p><pre spellcheck="false">port = parllel.ParallelPort(address=&#39;0xD050&#39;)
port.setData(4)
port.readPin(2)
port.setPin(2,1)
def sendPP(trigger):
    port.setData(trigger)
    return;

sendPP(1) # works as expected, trigger = 1
</pre><p>To get a trigger labelled 3, I&#39;ve tried sending: </p><pre spellcheck="false">sendPP(1,2) # error message, not the right syntax

sendPP(1)
sendPP(2) # not sure if this would be strictly simultaneous, or simultaneous every time, anyway no trigger is sent
</pre><p>This might not actually be an Open Sesame problem, but just trying to rule that out. Thanks for any tips!</p><p>Best,</p><p>Kate</p>]]>
        </description>
    </item>
    <item>
        <title>Problem running fullscreen mode</title>
        <link>https://forum.cogsci.nl/discussion/8449/problem-running-fullscreen-mode</link>
        <pubDate>Thu, 02 Mar 2023 09:53:20 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>egarcia</dc:creator>
        <guid isPermaLink="false">8449@/discussions</guid>
        <description><![CDATA[<p>Hello everyone, </p><p>I am trying to run my experiment in fullscreen mode but for some reason, it doesn&#39;t work. I have already opened the general script and for the variable &quot;fullscreen&quot;, I have changed &quot;no&quot; for &quot;yes&quot; in such a way that it is set to True. Then, I have click on the &quot;Apply&quot; bottom at the top right but the changes are not implemented. That is, after setting the variable &quot;fullscreen&quot; to &quot;yes&quot; and applying this modification, the next time I try to run the experiment in fullscreen mode, it does not work and if I go back to the script, this variable is still set to False.</p><p>Does anyone know what may be the problem here?</p><p>Thank you very much in advance,</p><p>Elena</p>]]>
        </description>
    </item>
    <item>
        <title>Installation problem on Asus ExpertBook</title>
        <link>https://forum.cogsci.nl/discussion/10116/installation-problem-on-asus-expertbook</link>
        <pubDate>Sun, 19 Apr 2026 21:04:13 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>gerhono</dc:creator>
        <guid isPermaLink="false">10116@/discussions</guid>
        <description><![CDATA[<p>Hello,</p><p>Several attempts to install OpenSesame on an Asus ExpertBook result in a corruption of the Intel graphic card driver. The display turns upside down, the brightness adjustment is impossible, and many other disturbances that correspond to a corruption of the driver. Fortunately, it can be reinstalled but OpenSesame cannot be used. The description of the PC is attached. </p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/forum.cogsci.nl\/uploads\/748\/IDBX0WR7ZH5F.png&quot;,&quot;name&quot;:&quot;Capture d&#39;\u00e9cran 2026-04-19 225406.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:68158,&quot;width&quot;:699,&quot;height&quot;:762,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://forum.cogsci.nl/uploads/748/IDBX0WR7ZH5F.png" download="" aria-label="Capture d&#39;écran 2026-04-19 225406.png">
        Capture d&#39;écran 2026-04-19 225406.png
    </a>
</div><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/forum.cogsci.nl\/uploads\/685\/NS2PEP115CZO.png&quot;,&quot;name&quot;:&quot;Capture d&#39;\u00e9cran 2026-04-19 225343.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:41604,&quot;width&quot;:812,&quot;height&quot;:399,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://forum.cogsci.nl/uploads/685/NS2PEP115CZO.png" download="" aria-label="Capture d&#39;écran 2026-04-19 225343.png">
        Capture d&#39;écran 2026-04-19 225343.png
    </a>
</div><p>Thank you in advance,</p><p>G&eacute;rard</p>]]>
        </description>
    </item>
    <item>
        <title>Unexpected error when running experiment</title>
        <link>https://forum.cogsci.nl/discussion/10120/unexpected-error-when-running-experiment</link>
        <pubDate>Fri, 08 May 2026 09:07:48 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>Zehan</dc:creator>
        <guid isPermaLink="false">10120@/discussions</guid>
        <description><![CDATA[<p>There are many images in my experiment program (e.g., objects and scenes), so I embedded the images in the OpenSesame file pool. My program is 60 MB, but I have already reduced the size of each image. The program had already run successfully with eight participants without any problems. However, in the past two days, it produced errors twice in a row.</p><p>I don&rsquo;t know why this problem occurred, and I also don&rsquo;t know how to debug it, because the program itself can run and no bugs.....</p><p>this is the detailed error message:&nbsp;</p><p>An UnexpectedError is raised when an error occurred that OpenSesame does not recognize. This can happen when there is a bug in a plugin, one of the underlying Python libraries, or in OpenSesame itself. This should not happen! If you experinence this error often, please report it on the support forum.</p><p><br /></p><p>&nbsp;File &quot;C:\Users\Research\Desktop\Zehan\opensesame_4.0.24-py311-win64-1\Lib\site-packages\psychopy\tools\attributetools.py&quot;, line 27, in __set__</p><p>&nbsp;&nbsp;newValue = self.func(obj, value)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^^^^^^^^^^^^^^^^^^^^</p><p>&nbsp;File &quot;C:\Users\Research\Desktop\Zehan\opensesame_4.0.24-py311-win64-1\Lib\site-packages\psychopy\visual\image.py&quot;, line 384, in image</p><p>&nbsp;&nbsp;self.isLumImage = self._createTexture(</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^^^^^^^^^^^^^^^^^^^</p><p>&nbsp;File &quot;C:\Users\Research\Desktop\Zehan\opensesame_4.0.24-py311-win64-1\Lib\site-packages\psychopy\visual\basevisual.py&quot;, line 1125, in _createTexture</p><p>&nbsp;&nbsp;intensity = numpy.array(im)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^^^^^^^^^^^^^^</p><p>&nbsp;File &quot;C:\Users\Research\Desktop\Zehan\opensesame_4.0.24-py311-win64-1\Lib\site-packages\PIL\Image.py&quot;, line 696, in __array_interface__</p><p>&nbsp;&nbsp;new[&quot;data&quot;] = self.tobytes()</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^^^^^^^^^^^^^</p><p>&nbsp;File &quot;C:\Users\Research\Desktop\Zehan\opensesame_4.0.24-py311-win64-1\Lib\site-packages\PIL\Image.py&quot;, line 775, in tobytes</p><p>&nbsp;&nbsp;return b&quot;&quot;.join(output)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^^^^^^^^^^^^^^^</p><p>MemoryError</p>]]>
        </description>
    </item>
    <item>
        <title>Playing Audio Kills Experiment</title>
        <link>https://forum.cogsci.nl/discussion/10119/playing-audio-kills-experiment</link>
        <pubDate>Wed, 29 Apr 2026 22:27:31 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>Artabanos</dc:creator>
        <guid isPermaLink="false">10119@/discussions</guid>
        <description><![CDATA[<p>Hi everyone,</p><p>I&#39;m attempting to play some audio (a beep sound) using a simple &#39;<code spellcheck="false">sampler</code>&#39; object on Ubuntu 24:</p><div>
    <div>
        <a href="https://forum.cogsci.nl/uploads/541/8G43U5WHH385.png" rel="nofollow noopener" target="_blank">
            <img src="https://forum.cogsci.nl/uploads/541/8G43U5WHH385.png" alt="Screenshot from 2026-04-29 17-21-01.png" />
        </a>
    </div>
</div>
<p>However, when attempting to run the experiment with the audio included, the experiment aborts immediately and throws an <code spellcheck="false">ExperimentProcessDied</code> error, occuring &quot;in the unknown phase of item unknown&quot;. The last messages in the console are:</p><pre spellcheck="false">Hello from the pygame community. https://www.pygame.org/contribute.html
[2026-04-29 17:21:54,826:psycho:132:INFO] scanning psychopy plugins
[2026-04-29 17:21:54,830:psycho:135:INFO] loading psychopy plugin: psychopy-visionscience
[2026-04-29 17:21:55,001:psycho:145:INFO] waitblanking = True
[2026-04-29 17:21:55,001:psycho:146:INFO] monitor = testMonitor
[2026-04-29 17:21:55,001:psycho:147:INFO] screen = 0
[2026-04-29 17:21:57,057:psycho:209:INFO] installing sounddevice plugin
[2026-04-29 17:21:57,383:experiment:336:INFO] experiment started
[253.&nbsp;36.]
[544.&nbsp;36.]
PTB-INFO: Using PortAudio V19.7.0-devel, revision unknown
</pre><p>This leads me to think there is something amiss with the plugins underlying OpenSesame&#39;s ability to play audio? Perhaps the PortAudio plugin or the Low Latency Plugin? I&#39;ve installed both as far as I&#39;m aware, using the directions found <a href="https://osdoc.cogsci.nl/4.1/manual/stimuli/sound/" rel="nofollow">in the manual</a>.  </p><p>The experiment runs perfectly fine without the sampler object included.</p><p>Any help or suggestions would be greatly appreciated!</p>]]>
        </description>
    </item>
    <item>
        <title>Response Time</title>
        <link>https://forum.cogsci.nl/discussion/10108/response-time</link>
        <pubDate>Mon, 13 Apr 2026 09:41:46 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>ecdellu</dc:creator>
        <guid isPermaLink="false">10108@/discussions</guid>
        <description><![CDATA[<p><strong>OpenSesame version</strong></p><p>OpenSesame 4.1.8</p><p><strong>Operating system</strong></p><p>Windows 11 Home</p><p><strong>Backend</strong></p><p>PsychoPy</p><p><strong>Actual behavior (what goes wrong)</strong></p><p>Hello, I&#39;m new at OpenSesame. I&#39;m programing an experience for my master&#39;s thesis and need to collect RT. In my logged file I&#39;m getting these numbers that I don&#39;t understand. What is the time unit of this?</p><p>In the examples that you see 17.000 something or 1.700 something I purposely left the trial unanswered, and my timeout is of 1700ms.</p><p>Thank you in advance! :) </p><div>
    <div>
        <a href="https://forum.cogsci.nl/uploads/282/APY5O7D0OPPY.png" rel="nofollow noopener" target="_blank">
            <img src="https://forum.cogsci.nl/uploads/282/APY5O7D0OPPY.png" alt="image.png" />
        </a>
    </div>
</div>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/forum.cogsci.nl\/uploads\/908\/FGJNEMI9NYO7.osexp&quot;,&quot;name&quot;:&quot;flanker_task.osexp&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:458375,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://forum.cogsci.nl/uploads/908/FGJNEMI9NYO7.osexp" download="" aria-label="flanker_task.osexp">
        flanker_task.osexp
    </a>
</div><p><br /></p>]]>
        </description>
    </item>
    <item>
        <title>Unexpected Keyboard Response Delay</title>
        <link>https://forum.cogsci.nl/discussion/10110/unexpected-keyboard-response-delay</link>
        <pubDate>Mon, 13 Apr 2026 16:46:55 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>bugay</dc:creator>
        <guid isPermaLink="false">10110@/discussions</guid>
        <description><![CDATA[<p>Hi all,</p><p>I am experiencing a consistent delay in my experiment that I can&#39;t account for. I first noticed this with a keyboard response item. I set the response screen duration to 0 and the response timeout duration to 2000 ms. Although I respond in time (~500 ms), the response screen is displayed for ~3000 ms. But it is not even limited to the keyboard response item. Even the welcome screen is being displayed long after the keypress. </p><p>I tried reinstalling opensesame which didn&#39;t help much. I tried running the experiment on another computer running under Windows 11 (same as my system), but the issue remained. I checked and it seems everything that is supposed to run in the prep phase are indeed running in the prep phase, so should not cause any delay. I am suspecting that this might have something to do with the custom helper functions in my script. </p><p>I have attached a simplified version of my experiment file and the output file to help troubleshoot. Any advice would be greatly appreciated!</p><p>Thanks in advance,</p><p>Bugay</p><p><strong>OpenSesame version</strong></p><p>4.1.9</p><p><strong>Operating system</strong></p><p>Windows 11</p><p><strong>Backend</strong></p><p>PsychoPy</p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/forum.cogsci.nl\/uploads\/858\/Y8O0KPC4791X.osexp&quot;,&quot;name&quot;:&quot;Newexperiment.osexp&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:23457,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://forum.cogsci.nl/uploads/858/Y8O0KPC4791X.osexp" download="" aria-label="Newexperiment.osexp">
        Newexperiment.osexp
    </a>
</div><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/forum.cogsci.nl\/uploads\/326\/22WWCALW3IJ9.csv&quot;,&quot;name&quot;:&quot;subject-0.csv&quot;,&quot;type&quot;:&quot;application\/vnd.ms-excel&quot;,&quot;size&quot;:6854,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://forum.cogsci.nl/uploads/326/22WWCALW3IJ9.csv" download="" aria-label="subject-0.csv">
        subject-0.csv
    </a>
</div><p><br /></p>]]>
        </description>
    </item>
    <item>
        <title>Experiment breaks on Expyriment, but not on Legacy</title>
        <link>https://forum.cogsci.nl/discussion/10094/experiment-breaks-on-expyriment-but-not-on-legacy</link>
        <pubDate>Mon, 23 Mar 2026 11:39:28 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>dimithetree</dc:creator>
        <guid isPermaLink="false">10094@/discussions</guid>
        <description><![CDATA[<p>Hiya all!</p><p>I&#39;m a newbie to OpenSesame and am using it for my thesis project. The experiment we will be conducting combines self-paced reading and a grammaticality judgement. Now, the problem is that the way I&#39;ve put things together right now, the experiment works fine in Legacy but breaks at seemingly random points in Expyriment (halfway through the set amount of iterations of the words_loop, for example). Since the self-paced reading relies on timing, I&#39;m assuming Expyriment would be better suited for the task, but I have no idea where the issue lies that makes the script break. The error message is &#39;unknown error in unknown&#39;, which isn&#39;t all that helpful either.</p><p>I&#39;ve also tried working with feedback items (at the end of each iteration of practice_sequence and block_sequence), but somehow that makes the code break even more reliably. I&#39;m assuming the error lies somewhere in loops overwriting variables, but honestly, no idea. </p><p>I&#39;ve added the experiment as an attachment. Thank you so much for any advice in advance!</p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/forum.cogsci.nl\/uploads\/511\/6XP0PCTFTMNH.osexp&quot;,&quot;name&quot;:&quot;Practice experiment.osexp&quot;,&quot;type&quot;:&quot;application\/gzip&quot;,&quot;size&quot;:16653,&quot;embedType&quot;:&quot;file&quot;}">
    <a rel="nofollow" href="https://forum.cogsci.nl/uploads/511/6XP0PCTFTMNH.osexp" download="" aria-label="Practice experiment.osexp">
        Practice experiment.osexp
    </a>
</div><p><br /></p>]]>
        </description>
    </item>
    <item>
        <title>Verbal response recordings on OpenSesame?</title>
        <link>https://forum.cogsci.nl/discussion/10086/verbal-response-recordings-on-opensesame</link>
        <pubDate>Mon, 16 Mar 2026 18:23:07 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>Yassi_Lange</dc:creator>
        <guid isPermaLink="false">10086@/discussions</guid>
        <description><![CDATA[<p>Hello OpenSesame Community, </p><p>I would like to inquire on how to implement sound recordings in an experimental setup. It may be relevant to know that I am new to the program and working with it for the first time.&nbsp;</p><p>Specifically, I would like to know whether a verbal response can be recorded (per trial) following a visual stimuli. Normally the experiment would have had a keyboard (manual) response but because we aim to eliminate movement all together during the experimental sessions we would like to replace it with a verbal response approach. If a verbal response recording following each trial is possible, can reaction time still be accurately recorded?</p><p>Would the &quot;Audio Low Latency plugins&quot; be appropriate for this specific set up?&nbsp;</p><p>Any guidance regarding this inquiry would be appreciated.</p><p>Many thanks, </p><p>YL</p>]]>
        </description>
    </item>
    <item>
        <title>Counterbalancing Conditions</title>
        <link>https://forum.cogsci.nl/discussion/10088/counterbalancing-conditions</link>
        <pubDate>Wed, 18 Mar 2026 00:25:27 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>lxy</dc:creator>
        <guid isPermaLink="false">10088@/discussions</guid>
        <description><![CDATA[<p>Information: Latest Opensesame version, MacOS, Legacy Backend. </p><p>Hi. </p><p><strong>Behaviour:</strong> I would like to counterbalance 4 conditions. </p><p>I followed the counterbalancing tutorial by Chris Longmore, and updated variables so that I am used var.set instead of exp.set, and in the if-run statement I used  b1 == main_sequence rather than self.get( ). Regarding these changes, I am fairly new to python, and am actively trying to make sense of the manual provided, so please let me know if there is an error in my understanding. </p><p>Regarding the conditions, the in-line script is as follows (but shortened):</p><p>////</p><p>if subject_nr  % 4 == 1:</p><p>b1 = 0 </p><p>b2 = 1 </p><p>b3 = 2 </p><p>b3 = 4 </p><p>elif (the other conditions)</p><p>else: (for final condition)</p><p>var.set (&#39;b1&#39;, b1)</p><p>var.set (the other conditions).</p><p>////</p><p>The run if condition was changed from &#39;always&#39; to b1 == count_main_sequence.</p><p><strong>Problem:</strong> However, when running the experiment, only one block runs. For example, participant 1 experiences block 0 as their first block, but then the experiment comes to an end before running block 1, 2, and 3. </p><p>I am not sure why this occurs, and would really appreciate any help/guidance! </p><p>Thank you. </p><p><strong>EDIT: Resolved, I did not specify the main loop to run 4 times :). </strong></p>]]>
        </description>
    </item>
    <item>
        <title>list variables disappear in Variable inspector when you run experiment</title>
        <link>https://forum.cogsci.nl/discussion/10083/list-variables-disappear-in-variable-inspector-when-you-run-experiment</link>
        <pubDate>Fri, 13 Mar 2026 11:47:03 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>HenkvanSteenbergen</dc:creator>
        <guid isPermaLink="false">10083@/discussions</guid>
        <description><![CDATA[<p>In OpenSesame 4.1 list variables (e.g. declared as errorcntlst = [0,0,0,0,0,0,0,0,0,0] in a python script) are visible in the Variable inspector before your run the experiment but they disappear from the Variable inspector when you run the experiment so the actual value cannot be inspected. This bug seems to have been introduced in a newer version of OpenSesame. It worked fine in OpenSesame 3.3 when using the var notation: e.g. var.errorcntlst = [0,0,0,0,0,0,0,0,0,0]</p>]]>
        </description>
    </item>
    <item>
        <title>Child Friendly Calibration - Eyelink</title>
        <link>https://forum.cogsci.nl/discussion/3804/child-friendly-calibration-eyelink</link>
        <pubDate>Thu, 15 Feb 2018 12:20:42 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>NaomiHavron</dc:creator>
        <guid isPermaLink="false">3804@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>I am using Open Sesame and Eyelink1000 (so PyGaze). I got the experiment to work with the default calibration, but what I need is a child calibration. What we use in Matlab (and PsychPy) experiments is a larger, colourful circle, that circles and makes fun noises, rather than the small point and beep that we can use for adults.<br />
I tried just inserting the PsychPy script in an inline, but that's not enough, of course. Eyelink told me they were working on it, but that might take time - and I need to start testing soon.<br />
Any idea of how to make changes to the default calibration?</p>

<p>Thanks in advance!<br />
Naomi</p>
]]>
        </description>
    </item>
    <item>
        <title>Ready-to-use experiment repository</title>
        <link>https://forum.cogsci.nl/discussion/10075/ready-to-use-experiment-repository</link>
        <pubDate>Fri, 27 Feb 2026 18:27:22 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>merah</dc:creator>
        <guid isPermaLink="false">10075@/discussions</guid>
        <description><![CDATA[<p>Hello, I skipped the template because I think this is a simple question.</p><p>Is there a collection of ready-to-use <strong>.osexp</strong> experiments for OpenSesame? I know there are tutorials on how to build my own, but I&#39;m looking for code I can just use for my research. A lot of experiments are likely to need a few generic cognitive assessments like PVT, Card Sort Test (CST), the Stroop test or the Digit Span Forward, or Corsi Blocks.</p>]]>
        </description>
    </item>
    <item>
        <title>double quote in string comparisons not working in break if</title>
        <link>https://forum.cogsci.nl/discussion/10072/double-quote-in-string-comparisons-not-working-in-break-if</link>
        <pubDate>Mon, 23 Feb 2026 12:05:32 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>HenkvanSteenbergen</dc:creator>
        <guid isPermaLink="false">10072@/discussions</guid>
        <description><![CDATA[<p><strong>OpenSesame version 4.1.8</strong></p><p><strong>Operating system Win 11</strong></p><p><strong>Backend PsychoPy</strong></p><p><strong>Expected behavior</strong></p><p>In a loop I have a break if statement using double quotes: sufficientpractice == &quot;yes&quot;</p><p>In the loop a script set the value of this variable to yes, but the loops does not break.</p><p>It does break if I set the statement using single quotes:  sufficientpractice == &#39;yes&#39;</p><p><strong>Actual behavior (what goes wrong)</strong></p><p>The loop should break but it does not</p><p><strong>Error messages (if any)</strong></p><p>None</p>]]>
        </description>
    </item>
    <item>
        <title>Several questions regarding Open Sesame experiment user interface</title>
        <link>https://forum.cogsci.nl/discussion/6770/several-questions-regarding-open-sesame-experiment-user-interface</link>
        <pubDate>Tue, 22 Dec 2020 10:57:18 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>Sannee</dc:creator>
        <guid isPermaLink="false">6770@/discussions</guid>
        <description><![CDATA[<p>I&#39;m currently working on my Master Project and I have to create an experiment. Since I have some previous knowledge of Open Sesame, I want to use that. However I&#39;m not quite sure if the things I want to implement are possible in Open Sesame. Therefore I first want to check here if these things are even possible before fully focussing on implementation.</p><p>The first question I have is if it is possible to have a second screen or pop up with a scroll bar in it. In my experiment participants have to rate 3 stimuli for 16 trials and they should be able to see the previous ratings as well. Since putting that all on one screen is a lot of information, I thought being able to scroll through that screen would be a solution. Is having a seperate screen or a scroll function an option in Open Sesame? If not would there be some sort of alternative way in which I could present this information clearly to the participant?</p><p>The second question is about widgets. Can widgets be locked in any way, such that they are still on the screen but they cannot be interacted with anymore? Say that a participant put in a score of 3, 4 and 5 for the three stimuli at trial 10. Now that they go to trial 11 I want them to be able to still see the 3, 4 and 5, but they shouldnt be able to change their answer anymore, nor should they be able to fill in answers from trial 12 already.  I was thinking of using sliders as widgets (I&#39;ve tried out the implementation mentioned on this forum and with a few adjustments I think I could make them work), so i&#39;d like to keep the sliders on screen instead of just a number. So a slider on the value 4 instead of just the number 4, as that will be most similar to what participants have to fill in in the next trial.</p><p>Thanks in advance for any replies, and if anything is still unclear I will gladly provide more information!</p>]]>
        </description>
    </item>
    <item>
        <title>Cannot load module/numpy</title>
        <link>https://forum.cogsci.nl/discussion/10064/cannot-load-module-numpy</link>
        <pubDate>Fri, 13 Feb 2026 14:17:26 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>LukasKunz</dc:creator>
        <guid isPermaLink="false">10064@/discussions</guid>
        <description><![CDATA[<p><strong>OpenSesame version</strong></p><p>4.1.8</p><p><br /></p><p><strong>Operating system</strong></p><p>macOS (Intel Chip)</p><p><br /></p><p><strong>Backend</strong></p><p>Expyriment / legacy</p><p><br /></p><p><strong>Expected behavior</strong></p><p>Full-Factorial Design based on pre-specified variables/values</p><p><br /></p><p><strong>Actual behavior (what goes wrong)</strong></p><p>Crashes, with the following error message. </p><p><strong>Error messages (if any)</strong></p><p>Traceback (most recent call last):</p><p> &nbsp;File &quot;/Applications/OpenSesame.app/Contents/Resources/lib/python3.13/site-packages/libqtopensesame/items/loop.py&quot;, line 77, in _show_wizard</p><p> &nbsp; &nbsp;dm = d.exec_()</p><p> &nbsp;File &quot;/Applications/OpenSesame.app/Contents/Resources/lib/python3.13/site-packages/libqtopensesame/dialogs/loop_wizard.py&quot;, line 63, in exec_</p><p> &nbsp; &nbsp;<strong>return</strong> operations.fullfactorial(self._dm)</p><p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^</p><p> &nbsp;File &quot;/Applications/OpenSesame.app/Contents/Resources/lib/python3.13/site-packages/datamatrix/operations.py&quot;, line 553, in fullfactorial</p><p> &nbsp; &nbsp;a = _fullfact(design)</p><p> &nbsp;File &quot;/Applications/OpenSesame.app/Contents/Resources/lib/python3.13/site-packages/datamatrix/operations.py&quot;, line 988, in _fullfact</p><p> &nbsp; &nbsp;<strong>import</strong> <strong>numpy</strong> <strong>as</strong> <strong>np</strong></p><p> &nbsp;File &quot;/Applications/OpenSesame.app/Contents/Resources/lib/python3.13/site-packages/numpy/__init__.py&quot;, line 112, in &lt;module&gt;</p><p> &nbsp; &nbsp;<strong>from</strong> <strong>numpy.__config__</strong> <strong>import</strong> show_config</p><p> &nbsp;File &quot;/Applications/OpenSesame.app/Contents/Resources/lib/python3.13/site-packages/numpy/__config__.py&quot;, line 4, in &lt;module&gt;</p><p> &nbsp; &nbsp;<strong>from</strong> <strong>numpy._core._multiarray_umath</strong> <strong>import</strong> (</p><p> &nbsp; &nbsp;...&lt;3 lines&gt;...</p><p> &nbsp; &nbsp;)</p><p> &nbsp;File &quot;/Applications/OpenSesame.app/Contents/Resources/lib/python3.13/site-packages/numpy/_core/__init__.py&quot;, line 24, in &lt;module&gt;</p><p> &nbsp; &nbsp;<strong>from</strong> <strong>.</strong> <strong>import</strong> multiarray</p><p> &nbsp;File &quot;/Applications/OpenSesame.app/Contents/Resources/lib/python3.13/site-packages/numpy/_core/multiarray.py&quot;, line 11, in &lt;module&gt;</p><p> &nbsp; &nbsp;<strong>from</strong> <strong>.</strong> <strong>import</strong> _multiarray_umath, overrides</p><p>ImportError: cannot load module more than once per process</p><p><br /></p><p><strong>What did you try already?</strong></p><p>1) run </p><p>import pip</p><p>pip.main([&#39;install&#39;, &#39;numpy&#39;, &#39;--upgrade&#39;])</p><p>2) complete re-install of OpenSesame 4.1.7</p>]]>
        </description>
    </item>
    <item>
        <title>Succeed in all trials in a block before continuing?</title>
        <link>https://forum.cogsci.nl/discussion/10051/succeed-in-all-trials-in-a-block-before-continuing</link>
        <pubDate>Thu, 22 Jan 2026 09:57:49 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>churrundo</dc:creator>
        <guid isPermaLink="false">10051@/discussions</guid>
        <description><![CDATA[<p>Hi there</p><p>I have a number line estimation task that needs a specific number of clicks, then a spacebar press to confirm the answer and continue. </p><p>How can I have the loop retry failed (number of clicks different to the requirement) trials? There&#39;s eighteen target numbers, but if any are done in this failed manner, is it possible for the loop to store them and append them to the end of the block before exiting into the next one?</p>]]>
        </description>
    </item>
    <item>
        <title>Video timing and RT precision at 25 FPS on a 60 Hz display (OpenSesame / Pygame)</title>
        <link>https://forum.cogsci.nl/discussion/10047/video-timing-and-rt-precision-at-25-fps-on-a-60-hz-display-opensesame-pygame</link>
        <pubDate>Thu, 08 Jan 2026 14:16:37 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>YZ87</dc:creator>
        <guid isPermaLink="false">10047@/discussions</guid>
        <description><![CDATA[<p>I am developing an experiment in OpenSesame that presents short video stimuli using Pygame. Because accurate stimulus timing and reaction time measurement are critical for my study, I would like to ensure that my current implementation achieves sufficient temporal precision, especially given potential future applications in EEG.</p><p><br /></p><p><strong>OpenSesame version</strong></p><p>[e.g. 4.1.0]</p><p><strong>Operating system</strong></p><p>[Windows 10, Display refresh rate: <strong>60 Hz</strong>]</p><p><strong>Backend</strong></p><p>[legacy]</p><p><strong>Expected behavior</strong></p><ol><li><strong>Fixation cross</strong>: 500 ms</li><li><strong>Video stimulus</strong>:<ul><li>Two videos were presented left and right of the center scree</li><li>Duration: 1 second</li><li>Implemented as 25 frames (intended 25 FPS, 40 ms per frame)</li><li>Frames are drawn manually using the Pygame backend</li><li>Participants are allowed to respond <strong>during video playback</strong></li><li>If a response occurs, the video is immediately terminated</li></ul></li></ol><ol><li><strong>Blank screen response window</strong>:<ul><li>Duration: 800 ms</li><li>Used only if no response occurred during the video</li></ul></li></ol><p>Reaction time is always measured relative to the <strong>onset of the first video frame</strong>.</p><h2><strong>Actual behavior (what goes wrong)</strong></h2><p>The experiment appears to run as intended at the behavioral level. However, because the video is presented at <strong>25 FPS on a 60 Hz display</strong>, I would like to confirm whether my implementation is correct and whether the resulting <strong>stimulus timing is sufficiently precise</strong>, especially if I later extend this paradigm to an <strong>EEG experiment</strong>.</p><p>Specifically, I would like to make sure that:</p><ol><li><strong>The code is correct in general.</strong></li><li>I implemented the video presentation by following the official OpenSesame tutorial:<ol><li><a href="https://osdoc.cogsci.nl/3.2/manual/stimuli/video/" rel="nofollow">https://osdoc.cogsci.nl/3.2/manual/stimuli/video/</a></li></ol></li></ol><ol><li><strong>Reaction time (RT) is recorded correctly.</strong></li><li>I intend to record RT relative to <strong>stimulus onset</strong>, defined as the moment when the <strong>first video frame is flipped to the screen</strong>. To do this, I record <code spellcheck="false">clock.time()</code> immediately after the first <code spellcheck="false">pygame.display.flip() </code>call and compute RT relative to that timestamp.</li><li><strong>The actual presentation time of each video frame is correct and well-defined.</strong></li><li>Given that my monitor refresh rate is <strong>60 Hz</strong>, I am confused about:</li></ol><ul><li>how long each frame is actually presented on the screen when targeting <strong>25 FPS</strong>, and</li><li>whether the resulting timing variability (due to refresh-rate quantization) is acceptable for <strong>EEG experiments</strong>, where precise stimulus onset timing is critical.</li></ul><p><br /></p><p>The Prepare part: </p><p><br /></p><pre spellcheck="false">import cv2
import numpy as np
import pygame

video1 = var.video1
video2 = var.video2
video_path1 = pool[video1]
video_path2 = pool[video2]

v1 = cv2.VideoCapture(video_path1)
v2 = cv2.VideoCapture(video_path2)

def load_video_to_frames(video_path, surface):
    video = cv2.VideoCapture(video_path)
    fps = video.get(cv2.CAP_PROP_FPS) or 25.0
    frames = []
    while True:
        ret, frame = video.read()
        if not ret:
            break
        frame = np.rot90(cv2.cvtColor(frame, cv2.COLOR_BGR2RGB))
        surf = pygame.surfarray.make_surface(frame)
        frames.append(surf)
    video.release()
    return frames, fps

frames1, fps1 = load_video_to_frames(video_path1,
pygame.surfarray.make_surface)
frames2, fps2 = load_video_to_frames(video_path2,
pygame.surfarray.make_surface)

fix_cnvs_pre = Canvas()
fix_cnvs_pre.fixdot()
fix_cnvs = Canvas()
fix_cnvs.fixdot()
blank_cnvs = Canvas()

my_keyboard = Keyboard(keylist=[&#39;f&#39;, &#39;j&#39;])
</pre><p>Run part:</p><pre spellcheck="false">screen_w, screen_h = exp.surface.get_size()
fix_cnvs.show()

clock.sleep(495) # fixation dot
frame_duration = 1.0 / 25 # 0.04 s fps
frame_times = []
width_dis = 260

my_keyboard.flush()#before the video, clear the response
frame_idx = 0
flip_times = []

while frame_idx &lt; 25:# the length is 25 frames
    vid_w, vid_h = frames1[frame_idx].get_size()
    left_x = screen_w // 2 - width_dis - vid_w // 2
    right_x = screen_w // 2 + width_dis - vid_w // 2
    y = screen_h // 2 - vid_h // 2


    exp.surface.blit(frames1[frame_idx], (left_x, y))
    exp.surface.blit(frames2[frame_idx], (right_x, y))


    pygame.display.flip()

    if frame_idx == 0:
        start_v = clock.time()

    t_flip = clock.time()
    flip_times.append(t_flip)


    key, end_time = my_keyboard.get_key(timeout=0)

  if key is not None:
      var.response = key
      var.response_time = end_time - start_v
      break # STOP video playback immediately


    # Wait exactly 40 ms
    clock.sleep(frame_duration * 1000) # clock.sleep ms
    frame_times.append(clock.time() - start_v)
    frame_idx += 1

end_v = clock.time() # record the end of the videos

if key is None:
    my_keyboard.flush()

    t_b = blank_cnvs.show()

    key, end_time = my_keyboard.get_key(timeout=800)
    end_res_win = clock.time()



print(&#39;========================================&#39;)
print(end_v-start_v)

if key is None:
    print(t_b - end_res_win)
    print(t_b - flip_times[0])

print(&#39;physical durations&#39;, flip_times[-1] - flip_times[0])

print(&#39;RT&#39;, end_time - start_v)
print(&#39;========================================&#39;)

print(flip_times)
</pre><p></p><p><br /></p><p><br /></p><div>
    <div>
        <a href="https://forum.cogsci.nl/uploads/066/K4YNO6MOKBRX.png" rel="nofollow noopener" target="_blank">
            <img src="https://forum.cogsci.nl/uploads/066/K4YNO6MOKBRX.png" alt="image.png" />
        </a>
    </div>
</div>
<p><br /></p><div>
    <div>
        <a href="https://forum.cogsci.nl/uploads/907/OL8B9CYVHP0C.png" rel="nofollow noopener" target="_blank">
            <img src="https://forum.cogsci.nl/uploads/907/OL8B9CYVHP0C.png" alt="image.png" />
        </a>
    </div>
</div>
<p><br /></p>]]>
        </description>
    </item>
    <item>
        <title>Randomizing an arrow</title>
        <link>https://forum.cogsci.nl/discussion/10046/randomizing-an-arrow</link>
        <pubDate>Wed, 07 Jan 2026 19:22:33 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>anna_snow</dc:creator>
        <guid isPermaLink="false">10046@/discussions</guid>
        <description><![CDATA[<p>Hello! I want to draw an arrow on a sketchpad that randomly points to one of eight positions on the sketchpad. Would it be best to use an inline script for this, or is there another way I can achieve this?</p><p>Thanks!!</p>]]>
        </description>
    </item>
    <item>
        <title>Image file pool</title>
        <link>https://forum.cogsci.nl/discussion/10044/image-file-pool</link>
        <pubDate>Wed, 07 Jan 2026 00:13:51 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>anna_snow</dc:creator>
        <guid isPermaLink="false">10044@/discussions</guid>
        <description><![CDATA[<p>Hello! Is there any way to get 8 images to randomly appear on a sketchpad out of a total 12 images without using python script? I am not experienced in coding at all, so I would prefer the easiest option for doing this.</p><p>Thank you!!</p>]]>
        </description>
    </item>
    <item>
        <title>ItemDoesNotExist Error</title>
        <link>https://forum.cogsci.nl/discussion/10043/itemdoesnotexist-error</link>
        <pubDate>Tue, 06 Jan 2026 00:18:41 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>is_is</dc:creator>
        <guid isPermaLink="false">10043@/discussions</guid>
        <description><![CDATA[<p>Hey everyone, im trying to make a new expirment but everytime i try to change a name for a certain element (loops, sequence etc) i get the added error message</p><p>i tried reinstalling the software, using the zip version, renaming extensions\ plugin folder with _OFF. but nothing works. renaming seems to work for one element then if i try to rename another element the error would pop up.</p><p>pressing <a href="denied:unsafe:about:blank" rel="nofollow">Dismiss this message</a> doesnt work <a href="denied:unsafe:about:blank" rel="nofollow">Send the error message</a> gives another prompt which says im not connected online.</p><p>The full error message is added below</p><p>thanks for helping</p><p><br /></p><p><br /></p><p>An unexpected error occurred. Do you want to send a bug report? This is automatic, and prevents similar problems in the future.</p><p><a href="denied:unsafe:about:blank" rel="nofollow">Send the error message</a></p><p>Privacy:</p><ul><li>The error message (see below) may contain identifying information, such as your user name. If so, this information will not be used for any other purpose than fixing bugs.</li></ul><p>Information:</p><ul><li>Operating System: win32</li><li>OpenSesame: 4.1.6</li><li>Python: 3.13.5</li></ul><p>Don&#39;t show me this message!</p><ul><li>If you don&#39;t want to see bug-report messages in the future, you can disable the bug_report extension under Menu &rarr; Tools &rarr; Plug-in and extension manager. This does not automagically solve the problem--it only suppresses the report!</li></ul><p>Error message:</p><pre spellcheck="false">Traceback (most recent call last):
  File &quot;C:\Program Files\OpenSesame\Lib\site-packages\libopensesame\item_store.py&quot;, line 287, in __getitem__
    return self.__items__[name]
           ~~~~~~~~~~~~~~^^^^^^
KeyError: &#39;gbnghn_sequence&#39;

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;C:\Program Files\OpenSesame\Lib\site-packages\libqtopensesame\widgets\tree_overview.py&quot;, line 285, in mousePressEvent
    target_item = self.experiment.items[target_item_name]
                  ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File &quot;C:\Program Files\OpenSesame\Lib\site-packages\libopensesame\item_store.py&quot;, line 289, in __getitem__
    raise ItemDoesNotExist(name)
libopensesame.exceptions.ItemDoesNotExist: 
Error: ItemDoesNotExist

Item gbnghn_sequence does not exist

This error occurred in the unknown phase of item unknown.
</pre><p><a href="denied:unsafe:about:blank" rel="nofollow">Dismiss this message</a></p>]]>
        </description>
    </item>
    <item>
        <title>Several OpenSesame questions for logger and randomized images</title>
        <link>https://forum.cogsci.nl/discussion/10039/several-opensesame-questions-for-logger-and-randomized-images</link>
        <pubDate>Tue, 30 Dec 2025 20:26:50 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>anna_snow</dc:creator>
        <guid isPermaLink="false">10039@/discussions</guid>
        <description><![CDATA[<p>I am currently working on an experiment for a project. The task I am putting together is a bit complicated, and I am very new to this software, so I have a few questions. </p><p>First,  I want to create a sketchpad that displays a circular array of 8 images all at once, but they need to be randomly drawn from a selection of 12 images. I have created an inline script with this code:</p><div>
    <div>
        <a href="https://forum.cogsci.nl/uploads/955/RIJTJOHTSEB6.png" rel="nofollow noopener" target="_blank">
            <img src="https://forum.cogsci.nl/uploads/955/RIJTJOHTSEB6.png" alt="Screenshot 2025-12-30 at 2.13.35 PM.png" />
        </a>
    </div>
</div>
<p>My images are randomized right now, but I want only 8 to show up at a time from a selection of 12. And it is very important that every trial has a specific number of positive, negative, and neutral images. Such that every trial has 2 positive, 2 negative, and 4 neutral images. I&#39;m not sure how to specify all that in an inline script or if I even need to use one. </p><p><br /></p><p>My second issue is that I want to record the participants&#39; average accuracy scores for each trial. The problem is that the &quot;correct&quot; response differs on every trial because an arrow will cue the participants to the image they need to select. I have a logger included in my experiment, but I am not sure how to specify what the correct response would be since the correct response depends on the random arrow cue. </p><p>I would greatly appreciate any advice for either question, and I hope I am on the right track! Thank you to anyone who reads this!</p>]]>
        </description>
    </item>
    <item>
        <title>Opensesame installation failed on Windows 11</title>
        <link>https://forum.cogsci.nl/discussion/10035/opensesame-installation-failed-on-windows-11</link>
        <pubDate>Sat, 20 Dec 2025 17:38:24 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>chavudin</dc:creator>
        <guid isPermaLink="false">10035@/discussions</guid>
        <description><![CDATA[<p>I tried to install Opensesame 4.1 and it fails, it just repeats two same code lines: </p><p>INFO:pyt_code_editor.worker.manager:stop_unused workers called: max_free=1, found 1 free workers</p><p>INFO: pyat_code_editor.worker manager: No free workers to stop.</p><p>I tried to pause windows security and to run opensesame as administrator but the outcome is the same. Also ChatGPT recommended installing older version but I can&#39;t find it either.  What should I do?</p>]]>
        </description>
    </item>
    <item>
        <title>Simultaneous mouse and keyboard listening?</title>
        <link>https://forum.cogsci.nl/discussion/10029/simultaneous-mouse-and-keyboard-listening</link>
        <pubDate>Thu, 11 Dec 2025 18:19:16 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>churrundo</dc:creator>
        <guid isPermaLink="false">10029@/discussions</guid>
        <description><![CDATA[<p>Hi there. I&#39;m pretty sure this is simple enough using the right code but I&#39;m kinda new to Python and I haven&#39;t been able to set this up in the GUI.</p><p>I am doing a task where the subject estimates the position of a number in the number line, by touching first at zero and then at the target position. After doing that, by pressing the spacebar they get a feedback with their response. </p><p>My problem is that the mouse is only listening for the first click (target click. The touch zero is alright) and then the keyboard element starts listening, disabling the mouse response element, thus disabling the possibility to update the &quot;final answer&quot; so to speak.</p><p>I feel like the solution involves combining both within an inline script, but I haven&#39;t fully grasped how the get_key/mouseclick functions work.</p>]]>
        </description>
    </item>
    <item>
        <title>Self-paced reading script</title>
        <link>https://forum.cogsci.nl/discussion/10036/self-paced-reading-script</link>
        <pubDate>Tue, 23 Dec 2025 04:36:48 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>debra_titone</dc:creator>
        <guid isPermaLink="false">10036@/discussions</guid>
        <description><![CDATA[<p>Dear all,</p><p>Wondering if anyone has a functional self-paced reading script in OpenSesame or PsychoPy that I could take a look at.</p><p>I&#39;ve seen various samples with PsychoPy but for some reason they are buggy when I try to run them locally.</p><p>I&#39;m new to both programs.  In fact, haven&#39;t programmed experiments in a long while, so I&#39;m a bit rusty, especially with loops and when dealing with something like sentence reading where there are different numbers of words per sentence etc.  </p><p>Pining away for PsyScope right now.  :)</p><p>Thanks so much,</p><p>d</p>]]>
        </description>
    </item>
    <item>
        <title>Colorsys import fails</title>
        <link>https://forum.cogsci.nl/discussion/10028/colorsys-import-fails</link>
        <pubDate>Tue, 09 Dec 2025 10:52:47 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>bugay</dc:creator>
        <guid isPermaLink="false">10028@/discussions</guid>
        <description><![CDATA[<p>Hi all,</p><p>I&#39;ve been running an experiment in OpenSesame (version 4.0.24) where I display colored circles, and I use <code spellcheck="false">colorsys.hls_to_rgb()</code> to set their colors. Everything worked fine for the first dozen participants, but after that the experiment began freezing and occasionally crashing right after I enter the subject number, before the experiment actually starts. Restarting OpenSesame helped temporarily.</p><p>Now, after collecting data from 20 participants, the experiment no longer runs at all. It gets stuck on a gray screen before the welcome message appears. I noticed that when I remove <code spellcheck="false">import colorsys</code>, the experiment runs again, but then it understandably crashes when it&#39;s time to display a circle.</p><p>I wanted to report this issue so the developers are aware, and I would also appreciate suggestions for alternative modules/libraries I could use for converting HLS to RGB or setting colors more reliably within OpenSesame.</p><p>Thank you in advance for your help!</p><p>Best,</p><p>Bugay</p><p>Here are some further details:</p><p><strong>OpenSesame version</strong></p><p>Tried running with both 4.0.24 &amp; 4.1.0.</p><p><strong>Operating system</strong></p><p>On computers running under Windows 10 &amp; 11.</p><p><strong>Backend</strong></p><p>PsychoPy backend</p><p><strong>No error messages.</strong></p>]]>
        </description>
    </item>
    <item>
        <title>Randomize within a sequential order of Loop</title>
        <link>https://forum.cogsci.nl/discussion/10027/randomize-within-a-sequential-order-of-loop</link>
        <pubDate>Fri, 05 Dec 2025 11:32:18 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>julia_reis_ulisboa</dc:creator>
        <guid isPermaLink="false">10027@/discussions</guid>
        <description><![CDATA[<p>Hi everyone!</p><p>Thank you in advance to whom might take his/her time reading this and possibly answering.</p><p>I&#39;m programming an Iowa Gambling Task in opensesame 3.3, back-end Xpyriment, python 3.7.10.</p><p>Basically the task consists of 4 decks of cards that the participant has to chose to draw a card from. Each deck has an order for gains and losses outcomes. Basically, each 10 trials, A and B will lead to a loss of 250 points each, and C and D to a gain of 250 points each. Within 10 trials, the order is supposed to be randomized. So, it is a randomization within each block of 10 trials.</p><p>I have programmed this by doing in the excel the randomization, and inserted the table in a sequential loop with all the 100 trials I&#39;m doing (see figure).</p><p>The experiment is working successfully, but I have a problem now: I wanted to randomize for each participant, and doing a version per participant is not doable. Can anybody help me with some code for this? </p><p>Thanks a lot!!</p><p>All the best, this forum has helped a great deal (it&#39;s my first experiment!!!)</p><p>J&uacute;lia RM</p><div>
    <div>
        <a href="https://forum.cogsci.nl/uploads/922/YXY5DZL3V9PC.jpg" rel="nofollow noopener" target="_blank">
            <img src="https://forum.cogsci.nl/uploads/922/YXY5DZL3V9PC.jpg" alt="Screenshot 2025-12-05 at 11.29.29.jpg" />
        </a>
    </div>
</div>
<p><br /></p>]]>
        </description>
    </item>
    <item>
        <title>Plugin with custom GUI</title>
        <link>https://forum.cogsci.nl/discussion/10002/plugin-with-custom-gui</link>
        <pubDate>Thu, 06 Nov 2025 21:28:28 +0000</pubDate>
        <category>OpenSesame</category>
        <dc:creator>jan_t</dc:creator>
        <guid isPermaLink="false">10002@/discussions</guid>
        <description><![CDATA[<p>Hi everyone,</p><p>I was wondering if it is somehow possible to create a plugin with an entirely custom GUI.</p><p>I think I have a good idea of how the auto plugin system works and I see how to use the Qt[PluginName] class for implemnting custom interactions between the controls.</p><p>However, I would like to create a GUI with custom widgets etc. Is it possible to access the layout, add Qt widgets, etc. Or would this require creating new widget classes and touching code outside the plugin folder (e.g. the auto plugin class)?</p><p>And help or idea would be very welcome!</p><p>Many thanks</p><p>Jan</p>]]>
        </description>
    </item>
   </channel>
</rss>
