Multiple response modes within trial


Author
Message
lukasg
lukasg
Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)
Group: Forum Members
Posts: 35, Visits: 103
Hi All,

I am trying to combine a textbox response with a mouse-click response. For the former, participants should enter two earlier displayed digits (e.g., 7 and 9). For the latter, participants should press on one of several simultaneously presented shapes to indicate the colour of a target. A similar issue was raised in a previous forum post (https://www.millisecond.com/forums/Topic14994.aspx) from 8 years ago. Hence, I was wondering whether there would be a more straightforward way of doing so.

My current trial looks as follows:
/stimulustimes = [0 = clearscreen; 1 = fixation; 150 = clearscreen; 151 = t, d1, d2 , dig1, dig2; 350 = clearscreen; 600 = shape1, shape2, shape3, shape4, shape5, shape6, shape7, shape8]
/ correctresponse = (values.cresp)
/ inputdevice = mouse
/ validresponse = (shape1,shape2,shape3,shape4,shape5,shape6,shape7,shape8)
</trial>


Now, I would like to add the textbox entry before the shape selection screen. Ideally, I would want to avoid switching to another trial. Is this possible?

All the best,
Lukas
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
lukasg - 3 Years Ago
Dave - 3 Years Ago
lukasg - 3 Years Ago
Dave - 3 Years Ago
                     Thanks again Dave!
lukasg - 3 Years Ago
                     I have done so but I run into several issues with the code.
lukasg - 3 Years Ago
                         Order matters. You're "combining" digits BEFORE you have selected...
Dave - 3 Years Ago
                             Here / branch = [if( trial .trialPractice.correct == 1 || trial...
Dave - 3 Years Ago
                                 Here, these no longer make sense. Those aren't your response options...
Dave - 3 Years Ago
                                     Thanks, surprisingly the branch worked with trial.colorResponse also....
lukasg - 3 Years Ago
lukasg - 3 Years Ago
Dave - 3 Years Ago
lukasg - 3 Years Ago
                         You're doing things the wrong way around. The openended *precedes* the...
Dave - 3 Years Ago
                             Meaning rather than saving values of the 2nd trial, I need to save...
lukasg - 3 Years Ago
                                 > Unfortunately, most values of the 250ms trial are relevant...
Dave - 3 Years Ago
                                     I was under the impression that, similar to what I did before, I would...
lukasg - 3 Years Ago
                                         In Inquisit parlance, a "value" is what you know as a variable* in...
Dave - 3 Years Ago
                                             However, what about variables such as latency. This is overwritten...
lukasg - 3 Years Ago
                                                 All you need is a variable (value) and then have all openended...
Dave - 3 Years Ago
                                                     Great, this is what I ended up doing. Thanks.
lukasg - 3 Years Ago
                                                 I am sure there are better ways to do this. For now, I figured...
lukasg - 3 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search