Triggering the No/Go response on inline
Enrico Fattorini
enrico.fattorini at uniroma1.it
Mon Jun 23 16:28:25 UTC 2014
Hi to everyone,
I am using E-Prime 1. I am now preparing a Go/NoGo paradigm. I have a
problem about the triggering of the No/Go response on the inline file. I
have three response conditions: response with left hand ("s"); response
with right hand ("l"); NO response. I did not have problem to trigger the
two Go responses (letter "s" and "l") but the software is closing and
segnaling an error when I did not make a response. I have to find the way
to triggering a NO response.
I tried a lot of different combinations, one is the following:
if TResp.Responses(TResp.Responses.count).resp= "s" then
Trisp=1
elseif TResp.Responses(TResp.Responses.count).resp= "l" then
Trisp=2
elseif TResp.Responses(TResp.Responses.count).resp= "void" then
Trisp=3
end if
if Trisp = 1 then
writeport 888, 51
sleep 5
writeport 888, 0
elseif Trisp = 2 then
writeport 888, 52
sleep 5
writeport 888, 0
elseif Trisp = 3 then
writeport 888, 50
sleep 5
writeport 888, 0
Any suggestions?
Thank you a lot.
Enrico
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/836c0a8c-6e89-48ab-90fd-f31ad7a9894f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20140623/a9d4ff12/attachment.htm>
More information about the Eprime
mailing list