Hi there,
I’m pretty new to e-prime and I’d love some help!
I’m working on building a task where participants will see 16 negative and 16 neutral images (presented for 6 sec), with a jitter fixation period before and an emotion rating afterward. These images are split into 2 blocks (each with 8 neg and 8 neu), and each image is presented twice within its block. So this will be 2 blocks of 32 trials each. I’ve used nested lists to organize the images.
In each block, a random set of 24 trials will be accompanied by a startle eliciting probe – half of these probes will start 4 sec after the image begins displaying, and the other half will be 5sec. I’ve built the image + sound as a slide in my trialproc, with 3 slidestates: one without the sound, one with the 4sec delay sound file, and one with the 5sec delay sound file. I tried to use a InLine to fill in a randomly generated “SlideState” attribute that I can enter into the Active State box on the Slide Properties file, but I keep getting an error that the “SlideState” attribute does not exist or that the Active State is invalid.
Once I get this working, I'll also need to add the startle probe to a random set of the inter stimuli intervals, so I plan on using a similar process...
I’d love it if someone could tell me where I went wrong and help me correct it!
I’ve included the InLine language below and my task is linked here: https://drive.google.com/file/d/1wHkWFITgyJZ85aVEKQJxssCKElfy64QE/view?usp=sharing
--
Dim SlideState As String
'Select a random number roughley equavelent to a percentage
Dim z As Integer
z = Random (1,100)
Const LongLead = "LongLead"
Const ShortLead = "ShortLead"
Const noSound = "noSound"
'Assign the value of he duration to an attribute
If z <= 25 Then
c.SetAttrib "SlideState", noSound
ElseIf z <= 62.5 Then
c.SetAttrib "SlideState", ShortLead
ElseIf z <=100 Then
c. SetAttrib "SlideState", LongLead
Else
Debug.Assert False
End If
Debug.Print "SlideState"
Thanks so much
Elle
Trial List- no sound (weight: 8)- negative (weight: 16)- list of 8 negative images, each with a weight of 2- neutral (weight: 16)- list of 8 neutral images, each with a weight of 2- ShortLead (weight: 12; same as above)- LongLead (weight: 12; same as above)
Display a random order of 8 negative and 8 neutral images, with each image presented twice, creating 32 trials total. 8 of those trials will not have a sound (4 will be negative and 4 will be positive), 12 will have a sound w/ a 4 second delay (6 with negative images and 6 with neutral images), and the remaining 12 will have a 5 second delay (again, 6 of these with negative images and 6 with neutral images).