Help with my experiment


Author
Message
Claud_l
Claud_l
Associate Member (95 reputation)Associate Member (95 reputation)Associate Member (95 reputation)Associate Member (95 reputation)Associate Member (95 reputation)Associate Member (95 reputation)Associate Member (95 reputation)Associate Member (95 reputation)Associate Member (95 reputation)
Group: Forum Members
Posts: 7, Visits: 45
Hi, I am as new as the come to Inquisit and I have a script that I need to edit. The script was based on Study 1a of this paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2706319/

In the experiment I want to run, participants will make a response the the circle stimulus as they do in the script already, and then respond to whether or not they noticed a certain smell e.g. coffee. 
We will be using an olfactometer so Inquisit will send a signal to a serial port: I have figured out the code for this e.g.
// send string "3" to COM5
<port signal>
/ port = COM5
/ subport = data
/ items = ("00110011")    
</port>
// send string "2" to COM5
<port baselinesignal>
/ port = COM5
/ subport = data
/ items = ("00110010")
</port>
// send string "1" to COM5
<port responsesignal>
/ port = COM5
/ subport = data
/ items = ("00110001")
</port>
// send string "0" to COM5
<port zerosignal>
/ port = COM5
/ subport = data
/ items = ("00110000")
</port>
Then within a trial it would look like this: 1000= sequence(signal,baselinesignal,responsesignal) to turn on the smell and 1100= sequence(signal,baselinesignal,zerosignal) to turn off the smell.
the smell would need to be present on 50% of trials (24/48 trials). I also need to add in a screen participants respond to "Present' or "Absent" I have made the screen:
<text thoughtprobes>
/ items = ("Present    or      Absent
     (s)           (a)")
/ hjustify = center
/ position = (50%, 50%)
/ txcolor = black
/ txbgcolor = darkgrey
/ size = (90%, 70%)
/ fontstyle = ("Arial", 7%, false, false, false, false, 5, 1)
</text>
Participants would press "A" for absent and "S" for present. This will need to be presented on every trial and record what the responses participants made were and I am not sure how to do this.
I basically know what I want to do but am not sure how to do any of it. So any help would be really appreciated. I have uploaded the script file hopefully it works. 








Attachments
pure_pload2021_nospacebar_48.iqx (281 views, 112.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search