Roelof
About
- Username
- Roelof
- Joined
- Visits
- 65
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, There was indeed a bug in the experiment I uploaded since the number of answers was not reset after checking, which meant that the total number kept going up. If you reset the 'nr_ans' after the else statement (nr_ans = 0) it works. Of course, …
-
Hi The easiest way I can think of is to set the 'break if' statement in one loop which then skips to the three sketchpads in another loop if some variable changes its value, but this all depends a bit on what your experiment looks like, if you have …
-
Hi Welcome to the forum, I am not sure what you would like to do exacty, but if you want items to be presented randomly you can use a loop item and select the random feature and the variables will be presented randomly, let us know if you have any …
-
Hi Phojo, I think the way to go is to use two inline script items, one to create the form, and one to check your specific requirements. In the attachment an example for 8 items of which 2 have to be chosen, the warning message is now generic, but y…
-
Hi Charlie, I think all the of the loop items in opensesame need some sort of response, and are mostly used for a single trial. Attached an example of how a flicker could work using an inline script; make sure to check the timing though if stimulus …
-
Hi fed, So you found an answer? Did it work? Let us know if you have any other issues Roelof
-
Hi Nott, Your set up seems like a good start, in order to find out the duration of the sketchpads make sure to use the timestamps for each sketchpad and check the total duration by subtracting the time stamp of sketchpad2 from sketchpad1. There ar…
-
Hi Patricia, This should definitely not happen, just to clarify: you are typing in an inline script and when you switch screens the code disappears? It would be helpful to know a bit more, for example, between which windows are you switching, and i…
-
Dear Patricia, What you could do is create additional rows/columns around the widgets and leave these empty, except for the places where you put the logos, for example, in an inline script: from libopensesame import widgetsvar.logo = pool['some_lo…
-
Hi Sahn, In order to see where this error comes from it would be useful to know which version of opensesame are you running and what is your operating system? This post suggests that for earlier versions of opensesame special characters in either…
-
Hi Kezzo, I think implementing a logger item after the form_base would work well: (Image) Perhaps it is also useful to recode the answers immediately into numbers, since dealing with a full sentence is not very handy in analyses, an example in th…
-
Alright, that is great, hope it all works out, good luck
-
Hi Sebastiaan, That'd be fun to have a look at, and just out of curiosity; what was the fix for the order of the column preservation? Roelof
-
Right, I see, and indeed opensesame seems to reorder them alphabetically, I am guessing that it will take some intricate changes to the program in order for it to maintain the original structure. Perhaps it could work by renaming the variables in a …
-
Hi Boris, Perhaps this is of use http://forum.cogsci.nl/index.php?p=/discussion/comment/10757/#Comment_10757
-
Hi Sontung, I think people are able to read sketchpads, but I am not sure what the question is; do you want the text to be larger?
-
Hi Samoel, Right, the inline script only works if that is how you want to play the sound, right now you are using the sampler item from the menu on the left, which seems to work very well in your experiment. It looks like the problem can be solved…
-
Hi Samoel, In attachment an example of how it could work It might be handy to go over a tutorial: http://osdoc.cogsci.nl/3.1/tutorials/beginner/#step-7-configure-the-keyboard-response-item edit: posted before refreshing the page, makes sense Eduard
-
Hi Samoel, In attachment an example of how it could work, essential line in the code is: while sound1.is_playing() == True: This checks if the sampler is still producing sound, and the experiment does not move on until the sound has stopped, hope …
-
Hi Red980, The counter variable is counting the number of repetitions of the while loop, and it is used to iterate over the 'trial_type', since the 'trail_type' only has 20 values, an error would occur at iteration nr 21, but with the counter and t…
-
Right, good that it works, one way to perhaps reduce the number of loops is define the target_ID in the larger loop, randomize this loop, and define only the coordinates in the smaller loops, in the attachment an example with only one set of coordin…
-
Hi Daxide, If all that you'd like to do is randomize the order of 'block_loop_1' and 'block_loop_2' then perhaps this could work: http://forum.cogsci.nl/index.php?p=/discussion/123/solved-ranomization-problem#Item_5 But I'm not entirely sure abo…
-
Right now the variable 'positivenegative' has rows where it has no value, so when the experiment tried to find the PNG with the name 'positivenegative' it cannot find the PNG that is named '' (empty). You would have to think about what the values of…
-
Hi Angelo, The duration for the sketchpad with the words is set to zero, which means the experiment immediately jumps to the image and then waits for a keypress. So you could set the duration, and also make sure the box 'flush pending keypresses' is…
-
Hi Sara, Without seeing how the responses are exactly collected it will be difficult to make any constructive suggestions, and the same goes for the double keypress, would it be possible to have a look at the actual experiment? For example what ite…
-
Yes, you are completely correct about the description of the assignment of condition number and subject numbers. There is a way to store the codes in an external file and read in the number in an inline script definitely, you have to be careful with…
-
Hi Kezzo, The idea of a double blind study is a very good one, I like it. One simple way to do it is copy pasting a random list into an inline script and using the subject number as an index to retrieve the random value at that index. I guess one …
-
Right, I can see what you mean, in that case the 'run if' code has to be changed slightly, right now the sketchpads only run if the exact size of the stimulus set is either 4 or 5 or etc. It should look something like this: [Stimulus_set]>3 ins…
-
Hi Miles, That seems quite strange indeed, would it be possible to have a look at the experiment? It might also be handy to see what the differences are in operating system, etc between the laptops and the desptop computers
-
Hi Visionlab , I am not familiar with mac, but this looks like there might be some transparency in the outline of your stimulus, since with a black background any transparency would not be visible, you could try using other background colors and see…