Below I have an e-prime code for a reading experiment, which we try to see the effect after the word 6 (so the trigger should start at the beginning of word_6 presented on Slide6). However, there is a typo in the script which is: after the GetAttrib it says 'word_6' (the correct one); however further down in the case line it says 'Slide5' which is qword 5 (the wrong one).
In this case, where do you think the trigger would start?
I can not rerun the analyses and check it as we do not have this system anymore.
______________________________________________________________________________________________
writeport &H378, &H0
Slide5.OnsetSignalEnabled = True
Slide5.OnsetSignalPort = &H378
If c.GetAttrib("word_6") "" Then
Select Case c.GetAttrib("Condition")
Case "5"
Slide5.OnsetSignalData = 15
Case "6"
Slide5.OnsetSignalData = 16
Case "7"
Slide5.OnsetSignalData = 17
Case "8"
Slide5.OnsetSignalData = 18
Case "41"
Slide5.OnsetSignalData = 41
Case "42"
Slide5.OnsetSignalData = 42
End Select
End If
Slide5.OffsetSignalEnabled = True
Slide5.OffsetSignalPort = &H378
Slide5.OffsetSignalData = &H0
Thank you,