﻿<?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 3  » Random stimuli sets</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 07 May 2026 07:23:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic6965.aspx</link><description>&lt;p&gt;See https://www.millisecond.com/forums/Topic3446.aspx. The basic setup goes like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set up a &amp;lt;video&amp;gt; element.&lt;/li&gt;
&lt;li&gt;Display video via the &amp;lt;block&amp;gt; element's /bgstim attribute&lt;/li&gt;
&lt;li&gt;Set the &amp;lt;block&amp;gt; to /timeout after 240000 ms (4 min)&lt;/li&gt;
&lt;li&gt;Set up a &amp;lt;trial&amp;gt; element to collect responses and have said &amp;lt;trial&amp;gt; element /branch back to itself (creating an infinite loop).&lt;/li&gt;
&lt;li&gt;Run a *single* instance the trial via the &amp;lt;block&amp;gt; element's /trials attribute.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Wed, 09 Nov 2011 16:53:07 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic6964.aspx</link><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;I'm a complete noob to Inquisit, but this answer in a prior Forum seems relevant to my question.&amp;nbsp; I've previously written code in QB45, Pascal, VB, and C# but am still catching on to Inquisit.&lt;/p&gt;
&lt;p&gt;I want to show a video of an ambiguous stimulus and have participants press one of two keys to report its percieved direction of motion.&amp;nbsp; The video would run continuously for about 4 minutes, during which roughly 50 key presses need to be recorded and time-stamped.&amp;nbsp; The goalis to estimate the proportions of time associated with each of the two possible reports.&amp;nbsp;&amp;nbsp;My speculation&amp;nbsp;has been&amp;nbsp;to start the video in a block with block duration specified, which block calls a do-loop of trials each instance of which writes a data record of&amp;nbsp;its key press.&amp;nbsp; However, you may have implemented a more elegant solution in your script to answer this prior question.&lt;/p&gt;
&lt;p&gt;I will be very grateful for advice or an example how to script in Inquisit.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Best,&amp;nbsp; Keith White (&lt;a href="mailto:kdwhite@ufl.edu"&gt;kdwhite@ufl.edu&lt;/a&gt;).&amp;nbsp;&lt;/p&gt;</description><pubDate>Wed, 09 Nov 2011 14:52:51 GMT</pubDate><dc:creator>kdwhite</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic3859.aspx</link><description>&lt;p&gt;Thank you very much Dave, It's very helpful!&lt;/p&gt;
&lt;p&gt;Thanks again for your help,&lt;/p&gt;</description><pubDate>Mon, 08 Feb 2010 03:47:07 GMT</pubDate><dc:creator>Barbara</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic3858.aspx</link><description>&lt;p&gt;The file along with a demo script is available for download at my profile page:&lt;/p&gt;
&lt;p&gt;&lt;a href="/community/members/Dave/files/ToH_5F00_Rev2_5F00_Timer.zip.aspx"&gt;http://www.millisecond.com/community/members/Dave/files/ToH_5F00_Rev2_5F00_Timer.zip.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if that helps,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Mon, 08 Feb 2010 03:30:20 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic3857.aspx</link><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;I want to make an experiment where continious information about the time elapsed it's provide. Following your advices, I used &amp;lt;video&amp;gt; and /bgstim command, but my video is to large and low quality. I don't know if it's possible, but could you send me your flash file and an example script, please?&lt;/p&gt;
&lt;p&gt;Thank you very much for your help, and sorry for my english,&lt;/p&gt;
&lt;p&gt;Barbara.&lt;/p&gt;</description><pubDate>Mon, 08 Feb 2010 03:27:16 GMT</pubDate><dc:creator>Barbara</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2405.aspx</link><description>[quote]I know the timer is simplistic and functional. Just one catch: I'm not familiar with flash, so I won't be able to fully integrate the timer into my script. And since we want total control (sounds really bad), I think hard-scripting it is the only method here. And since I do know a little Python, hard-scripting isn't all that bad since Python makes the &amp;lt;item&amp;gt;-element :)[/quote]&lt;br&gt;&lt;br&gt;If you really want to use method I outlined and tell me exactly what you'd need, I'd even consider doing the flash part for you. Shouldn't be too much work.&lt;br&gt;&lt;br&gt;[quote]What form would you like the Tower to have? More flashy?[/quote]&lt;br&gt;&lt;br&gt;I'm not so much concerned about the looks of the script. But the underlying code is a bit crude (i.e. not very elegant) in some places and there are some redundancies I'd have to sort out. It's definitely not something I'd make available to others in its current form. On the other hand: The script does what it's supposed to do - even in its current, unpolished state.&lt;br&gt;&lt;br&gt;[quote]And I'll hear from you soon than, but as mentioned: take your time![/quote]&lt;br&gt;&lt;br&gt;I can't see myself getting around to it in the next few days. And since you already have a functional version up and running, I'll definitely take my time...&lt;br&gt;&lt;br&gt;Best,&lt;br&gt;~Dave&lt;br&gt;</description><pubDate>Fri, 16 Jan 2009 10:07:58 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2404.aspx</link><description>Hey Dave,&lt;br&gt;&lt;br&gt;I know the timer is simplistic and functional. Just one catch: I'm not familiar with flash, so I won't be able to fully integrate the timer into my script. And since we want total control (sounds really bad), I think hard-scripting it is the only method here. And since I do know a little Python, hard-scripting isn't all that bad since Python makes the &amp;lt;item&amp;gt;-element :)&lt;br&gt;&lt;br&gt;What form would you like the Tower to have? More flashy? &lt;br&gt;&lt;br&gt;And I'll hear from you soon than, but as mentioned: take your time!&lt;br&gt;</description><pubDate>Thu, 15 Jan 2009 22:19:57 GMT</pubDate><dc:creator>IvoR</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2403.aspx</link><description>[quote]Hey Dave,&lt;br&gt;&lt;br&gt;I checked out the file you sent. I wasn't that impressed with the timer (although the idea of a flash tile or movie is still quite clever ;)), but really with the Tower of Hanoi problem! It looks really great. Hopefully I'll get the chance myself to have to make something like that (but only if my employer wants that of course).&lt;br&gt;&lt;br&gt;I also hope you could answer my other answer. But take your time, there's no time pressure since the program is working, I'm just curious about a more... 'beautiful' way of programming it.&lt;br&gt;&lt;br&gt;Kind regards,&lt;br&gt;&lt;br&gt;Ivor&lt;br&gt;&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;Hey Ivor,&lt;br&gt;&lt;br&gt;well, the timer certainly isn't meant to be actually 'impressive' but simplistic and functional. You can do all sorts of things with this approach (including impressive ones!). Just take the general idea and optimize it for your particular needs. Many thanks for the comments on the Tower of Hanoi script (although it's only a rough sketch and I'm not particularly happy with it in its current form). But hey - it does the job. As I already said, I'll look at your other questions whenever I have some time...&lt;br&gt;&lt;br&gt;Best wishes,&lt;br&gt;~Dave&lt;br&gt;</description><pubDate>Thu, 15 Jan 2009 15:38:14 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2402.aspx</link><description>Hey Dave,&lt;br&gt;&lt;br&gt;I checked out the file you sent. I wasn't that impressed with the timer (although the idea of a flash tile or movie is still quite clever ;)), but really with the Tower of Hanoi problem! It looks really great. Hopefully I'll get the chance myself to have to make something like that (but only if my employer wants that of course).&lt;br&gt;&lt;br&gt;I also hope you could answer my other answer. But take your time, there's no time pressure since the program is working, I'm just curious about a more... 'beautiful' way of programming it.&lt;br&gt;&lt;br&gt;Kind regards,&lt;br&gt;&lt;br&gt;Ivor&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 15 Jan 2009 11:56:47 GMT</pubDate><dc:creator>IvoR</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2401.aspx</link><description>[quote] A flash file! I hadn't thought of this before. Great idea.[/quote]&lt;br&gt;&lt;br&gt;I came up with this approach back in the good, old Inquisit 2.0 days. We had subjects do a timed writing task and needed to provide them with continuous information about the time they had left to complete their essays. If you have any use for the flash file, just let me know.&lt;br&gt;&lt;br&gt;Best wishes,&lt;br&gt;~Dave&lt;br&gt;</description><pubDate>Thu, 15 Jan 2009 11:08:20 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2399.aspx</link><description>&lt;p&gt;[quote]You'd basically have a video or (even better) a flash file that serves as a digital clock. [/quote]&lt;/p&gt;
&lt;p&gt;A flash file! I hadn't thought of this before. Great idea.&lt;/p&gt;
&lt;p&gt;-Sean&lt;/p&gt;</description><pubDate>Thu, 15 Jan 2009 09:28:04 GMT</pubDate><dc:creator>seandr</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2395.aspx</link><description>[quote][quote] The second question is a bit of the same: is it possible to make a timer without implementing every possible time? [/quote]&lt;br&gt;&lt;br&gt;With a little bit of lateral thinking, yes. I've used the &amp;lt;video&amp;gt; element and the &amp;lt;block&amp;gt; element's '/bgstim' command in the past to provide participants with continuous information about the elapsed time across trials. You'd basically have a video or (even better) a flash file that serves as a digital clock. I can email you these files as well as an example script if you want.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;~Dave[/quote]&lt;br&gt;&lt;br&gt;I didn't thought about that possibility! It certainly is a more hansome solution in the script. I would really appreciate it if you would sent the files. I'm curious how that will look. Too bad my employer doesn't really care much for the way it is implemented, just how it looks :)&lt;br&gt;My mailadress is &lt;a href="mailto:nospam_i.grisel@student.ru.nl"&gt;nospam_i.grisel@student.ru.nl&lt;/a&gt; (without the nospam_ obviously). Thanks!&lt;br&gt;&lt;br&gt;Ivor</description><pubDate>Thu, 15 Jan 2009 04:27:44 GMT</pubDate><dc:creator>IvoR</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2394.aspx</link><description>[quote] The second question is a bit of the same: is it
possible to make a timer without implementing every possible time?
[/quote]&lt;br&gt;
&lt;br&gt;
With a little bit of lateral thinking, yes. I've used the &amp;lt;video&amp;gt;
element and the &amp;lt;block&amp;gt; element's '/bgstim' command in the past
to provide participants with continuous information about the elapsed
time across trials. You'd basically have a video or (even better) a
flash file that serves as a digital clock. I can email you these files
as well as an example script if you want.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
~Dave</description><pubDate>Thu, 15 Jan 2009 03:38:31 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2393.aspx</link><description>Hey Sean,&lt;br&gt;&lt;br&gt;Of course it is possible to put the script online. You can find it at www.student.ru.nl/i.grisel/Subconcious Experiment.zip .&lt;br&gt;&lt;br&gt;A little explanation on the files: I've stripped both files to the bare/bear essentials. This includes two main parts, namely presenting cars and getting a nice timer. Since both took a lot of stimuli to make, I've made three files. The first one is to run the whole experiment, namely Subconcious Experiment.exp. The stimuli file is named Random Car Stimuli.exp. Next to that I've also have a file with the car specifications which is in Auto.exp.&lt;br&gt;A little bit more explanation is required for the Stimuli file. Since I had three variables which needed to be created random for each participant, that gave me a lot of combinations for cars (10 possible carnumbers, 10 possible colors and 10 possible sets of specifications). To get the random lists, I made 3 item-lists, got to present this list randomly (shown in white and timeout 0)(via a trial and block) and let it put the presented words back in a list. &lt;br&gt;After that, I hard-scripted every possible combination so I could activate them with a branch command. Don't worry, I didn't type it all: I let my little Python script do it for me ;) So my question about this is, if there's a way to do it in a more flexible way, in which Inquisit generates the random lists and maybe even reduce the hard-scripting?&lt;br&gt;The second question is a bit of the same: is it possible to make a timer without implementing every possible time?&lt;br&gt;&lt;br&gt;Thanks a lot for your help!&lt;br&gt;&lt;br&gt;Ivor&lt;br&gt;</description><pubDate>Wed, 14 Jan 2009 23:30:38 GMT</pubDate><dc:creator>IvoR</dc:creator></item><item><title>RE: Random stimuli sets</title><link>https://forums.millisecond.com/Topic2387.aspx</link><description>&lt;p&gt;Hi Ivor,&lt;/p&gt;
&lt;p&gt;Would it be possible to attach your script to this message thread? That would allow me to see more clearly what you are trying to do and determine whether there is a more efficient way.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt;Sean&lt;/p&gt;</description><pubDate>Wed, 14 Jan 2009 08:07:13 GMT</pubDate><dc:creator>seandr</dc:creator></item><item><title>Random stimuli sets</title><link>https://forums.millisecond.com/Topic2384.aspx</link><description>Hey everyone,&lt;br&gt;&lt;br&gt;Currently I'm making a unconcious thinking task. For this, people get presented a lot of information, in this case the specifications of cars. The idea of presenting this information is that it is random for every participant. There are 3 variables, which have to be randomly selected, but are connected to each other and can't change during the entire experiment: the number of the car, the color of the car and the set of 10 specifications. I've been able to randomize these variables, but I did it via a detour (let a combination of a trial and block take random items from a item-list and then put them in another item-list). Is there a more easier way for me to do this? The possible parameters are quite easy: the carnumbers and the set numbers range from 1 to 10. The colors are: dark blue, light blue, dark green, light green, orange, pink, yellow, red, black and grey. &lt;br&gt;&lt;br&gt;Kinds regards,&lt;br&gt;&lt;br&gt;Ivor&lt;br&gt;</description><pubDate>Tue, 13 Jan 2009 11:35:56 GMT</pubDate><dc:creator>IvoR</dc:creator></item></channel></rss>