Jumps, labels and input masks [Typo correction]

Robert Dörr uni at robertdoerr.de
Tue Apr 4 20:23:41 UTC 2006


The code should be:

if TextDisplay1.RT <> 0 then
   goto Label1
end if

Robert Dörr wrote:

> Hi Rachel,
>
> Unfortunately, I am not able to reproduce your error. It must be
> something specific to your experiment.
> What you can try as a 'quick and dirty' workaround is the following:
> Set your slides' end action to terminate (not to jump). After each slide
> you put an short inline script containing this code:
>
> if TextDisplay1.RT <> 0 then
>    goto Label1
> else
>
> TextDisplay1 should be replaced by the appropriate slide name.
>
> I am not sure if this solves your problem, because I cannot test it.
>
> Best wishes
> Robert Dörr
>
>
> Rachel Mitchell wrote:
>
>> Hi Leisha
>>
>> In the trial procedure line, there are separate slides straight after 
>> each
>> other (1.5sec each) for 25% intensity, 50%, 75%, 100%, 125% and 150%.
>> Participants are instructed to press the appropriate response key as the
>> emotion evolves, as soon as they've made their mind up.
>> Theoretically participants could have made their decision during any of
>> these slides, so each one is programmed to jump to label1 following a
>> response.
>> Label1 is positioned at the end of the trial procedure line.
>> After this is a 1.5sec wait screen for my ISI.
>> The programme then goes back to the trial list (there is a single 
>> trial list
>> on the session procedure line, with no block lists) and randomly selects
>> another trial/series.
>>
>> I just tried making the response time infinite for the 150% screen to 
>> force
>> them to respond, but I got the same error after a while (although at 
>> least
>> the programme got a little further this time!).
>>
>> Someone kindly suggested the problem was because the jump command didn't
>> know what to do if participants didn't respond - and suggested I try and
>> incorporate a feedback screen, remove all text from it, and set the 
>> input
>> object name to the stimulus. I tried setting it to the last screen 
>> (the 150%), but this didn't work (I'm
>> not quite sure I was interpreting their suggestion correctly though, 
>> or that
>> I had described my task sufficiently).
>>
>> This task is being used for a patient study and we have so little 
>> time left
>> I am very grateful to those who have responded.
>> Does the further description above give you any ideas Leisha?
>>
>> With best wishes
>> Rachel
>>
>> --------------------------------------------------------
>> Dr Rachel L. C. Mitchell.
>> Lecturer in Cognitive Psychology, University of Reading.
>> Honorary Research Fellow, Institute of Psychiatry.
>> Research Psychologist, Berkshire Healthcare NHS Trust.
>>
>> Correspondence Address:
>> School of Psychology and Clinical Language Sciences,
>> Whiteknights Road
>> University of Reading
>> Reading
>> Berkshire
>> RG6 6AL
>>
>> Tel: +44 (0)118 378 8523
>> Direct Dial: +44 (0)118 378 7530
>> Fax: +44 (0)118 378 6715
>> ----------------------------------------------------------------------- 
>> -----Original Message-----
>> From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On 
>> Behalf
>> Of Leisha Wharfield
>> Sent: 04 April 2006 18:02
>> Cc: Eprime mailing list
>> Subject: Re: Jumps, labels and input masks
>>
>> How does your stimulus object end? Does it end by jumping somewhere, 
>> does it
>> time out, or does it end when the subject inputs their response?
>>
>> Leisha Wharfield
>> Decision Research
>> Eugene, Oregon, USA
>>
>> Rachel Mitchell wrote:
>>
>>  
>>
>>> Hello all
>>>
>>> I keep getting an error when trying to run my programme and I don't 
>>> know why it is occurring and what I need to do about it.
>>>
>>> In summary, in my paradigm participants see a series of increasingly 
>>> intense facial emotion pictures 0, 25%, 50%, 75%, 100% and so on).
>>> Participants have to press a response key as soon as they've decided 
>>> what emotion is emerging.
>>> It works fine, apart from when participants don't make a response 
>>> for that trial/series.
>>> Then I get this error message......
>>> Run-time Error (Line 830)
>>> 11016: Application-defined or object-defined error
>>>
>>> And the script box highlights....
>>>     
>>>     '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
>>>
>>>     '    Label - Label1 BEGIN
>>>     '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
>>>
>>>
>>> Label1:
>>>     If Err.Number = ebInputAccepted Then
>>>         Err.Clear
>>>         Resume Label1Resume
>>>     ElseIf Err.Number <> 0 Then
>>>         'NOTE: If you receive a runtime error here, it
>>>         ' is because a runtime error other than ebInputAccepted
>>>         ' was thrown (ebInputAccepted for catching input masks that
>>>   
>>
>> jump).
>>  
>>
>>>         'You are encouraged to either handle the error so that
>>>         ' it is not thrown in the future or will have to set up
>>>         ' your own error handler, which will also need to take
>>>         ' into account for any input masks that jump.
>>>         '
>>>         'Raise the error so the default error handler will show the
>>>   
>>
>> message
>>  
>>
>>>         Err.Raise Err.Number
>>>     End If
>>>
>>> Label1Resume:
>>>
>>>     '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
>>>
>>>     '    Label - Label1 END
>>>
>>>     '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
>>>
>>> Can anyone tell me what I have done wrong and what I need to do to 
>>> prevent the above?
>>> I should perhaps mention at this point, that I don't tend to use 
>>> in-line script.
>>> As far as I know, I have the latest version (service pack 3)
>>>
>>> Hoping someone can help
>>>
>>> With best wishes
>>> Rachel Mitchell
>>>
>>> --------------------------------------------------------
>>> Dr Rachel L. C. Mitchell.
>>> Lecturer in Cognitive Psychology, University of Reading.
>>> Honorary Research Fellow, Institute of Psychiatry.
>>> Research Psychologist, Berkshire Healthcare NHS Trust.
>>>
>>> Correspondence Address:
>>> School of Psychology and Clinical Language Sciences, Whiteknights 
>>> Road University of Reading Reading Berkshire
>>> RG6 6AL
>>>
>>> Tel: +44 (0)118 378 8523
>>> Direct Dial: +44 (0)118 378 7530
>>> Fax: +44 (0)118 378 6715
>>> -----------------------------------------------------------------------
>>>
>
>
>



More information about the Eprime mailing list