windows display of scanner trigger


Author
Message
nrouhani
nrouhani
Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)
Group: Forum Members
Posts: 83, Visits: 261
hello, 

i wrote an inquisit 5 script on a mac to be run in an fMRI experiment that runs the task on a windows device. the fmri scanner waits for a "=" key press to start, but when testing this (on a windows device while scanning) the "=" appears in a subsequent answer box on the next trial (while it does not do this on a mac). is there any way to prevent this from happening?

thank you!

Below is a short snippet of the code that should run, you have to press "=" for it start.

*************************************************
EXPERIMENT
*************************************************

<expt>
/ blocks = [1=task]
</expt>

*************************************************
LEARNING
*************************************************

// BLOCKS
<block task>
/ trials = [1=new_room; 2=estimate_nat]
/ errormessage = false
/ skip = [script.groupid>2]
</block>

// TRIALS

// new room
<trial new_room>
/ stimulustimes = [0=blank, newRoomText]
/ trialduration = 6000
/ validresponse = (noresponse)
/ pretrialsignal = (keyboard,13)
</trial>

<openended estimate_nat>
/ position = (50, 50)
/ buttonlabel = "please enter estimate"
/ fontstyle = ("Arial",20)
/ inputdevice = keyboard
/ validresponse = (noresponse)
/ stimulustimes = [0=estimateQ]
/ linelength = 3
/ range = (0,100)
/ numlines = 1
/ responsefontstyle = ("Arial",80)
/ trialduration = 3000
</openended>


*************************************************
Background
*************************************************

// screen
<defaults>
/ screencolor = white
/ txcolor = darkgrey
</defaults>

<shape blank>
/ color = darkgrey
/ shape = rectangle
/ size = (100%, 100%)
/ erase = false
</shape>


*************************************************
Stimuli Presentation
*************************************************

<text newRoomText>
/ items = ("You have traveled to a new location")
/ vjustify = center
/ size = (500,60)
/ fontstyle = ("Helvetica", 2.48%, true, false, false, false, 5, 0)
/ vposition = (30)
/ hposition = (50)
/ txbgcolor = azure
/ txcolor = darkorange
</text>

<text estimateQ>
/ items = ("please estimate the value of this category (artificial or natural) from 0 to 100 cents")
/ halign = center
/ vjustify = center
/ size = (500,90)
/ fontstyle = ("Helvetica", 2.48%, true, false, false, false, 5, 0)
/ vposition = (30)
/ hposition = (50)
/ txbgcolor = white
/ txcolor = darkgray
/ erase = false
</text>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
nrouhani - 3 Years Ago
Dave - 3 Years Ago
nrouhani - 3 Years Ago
Dave - 3 Years Ago
                     thank you so much!
nrouhani - 3 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search