problem with c.GetAttrib function and RT data

Leisha Wharfield leisha at decisionresearch.org
Fri Aug 25 21:21:42 UTC 2006


Hi, Nicole,

I think you may have a syntax problem. The RT is a number not a string, 
so you don't need the quote marks. I think that

nSingleRT = Math.RT

will do it.

Leisha

Nicole Strang wrote:

> Hi all,
>
> I am trying to have a running average of a participants reaction time 
> so that the duration of a trial can be adjusted based on a subjects 
> performance. I think I know how to do this, however I am unable to get 
> the RT data. One issue that I thought may be a problem is that the RT 
> data comes from an object with an infinite duration, however when I 
> look at a data file the RT data appears to be completely appropriate. 
> What I have right now (although I have tried a number of different 
> approaches) is in the user tab I define my variable
> dim nSingleRT as long
>
> 'In an inline prior to the beginning of the block
> nSingleRT=0
>
> 'In an inline at the very end of the trial
> nSingleRT=c.GetAttrib ("Math.RT")
> Debug.Print nSingleRT
>
> In the debug tab I get all zeros. I have tried using the summation 
> function, but had no more success. To try and better ascertain the 
> nature of the problem, I replace Math.RT with MathList and the 
> attributes were collected without any problem. Any help would be 
> greatly appreciated.
> Thanks very much!
> Nicole
> -- 
> Nicole Strang
> Graduate Student
> Child Emotion Research Lab
> University of Wisconsin-Madison
> 1202 West Johnson St.
> Madison, Wisconsin 53706
> Lab Phone: (608) 262-6647
> Fax: (608) 262-4029 



More information about the Eprime mailing list