experiment timer, or safe mid-experiment stop?
Paul Groot
pfc.groot at gmail.com
Thu Sep 27 21:00:09 UTC 2012
Parallel to the manual break method (using GetUserBreakState), you could
add a simple test that calculates the difference between the 'çurrent time'
and some starting point, and use this value to set the break state as soon
as a timeout limit is reached:
Const maxduration&=600000& ' add & to make sure large values are declared
as long integer
if Clock.ReadMillisec>=StartObject.OnsetTime+maxduration then
SetUserBreakState(1)
end if
if GetUserBreakState() then
TrialList.Terminate
BlockList.Terminate
end if
Where StartObject is the object that is the first one displayed in the
10minute epoch (this must be an object that is displayed only once).
Cheers
Paul
2012/9/27 terhi helminen <helminenterhi at gmail.com>
> Hi,
>
> For option number 1 see the safe exit sample in
> http://www.pstnet.com/support/samples.asp?Mode=View&SampleID=22
>
> Terhi
>
> On Thu, Sep 27, 2012 at 7:17 PM, Alison T Miller Singley <
> alisontmsingley at gmail.com> wrote:
>
>> I'd like to modify an experiment to last only 10 minutes total, so
>> regardless of how many trials a subject completes, the experiment stops at
>> 10 minutes.
>>
>> I can think of two options, but I don't know how to operationalize either
>> of them: :)
>> 1 - have the test administrator watch time and manually stop the
>> experiment at 10 minutes
>> Issue: by aborting the experiment (with ctrl+alt+shift), the .edat file
>> is not created. Is there a way to safely stop an experiment and preserve
>> the data? Or a way to write the .edat file continuously?
>>
>> 2 - set an experiment-level timer to end after 10 minutes
>> Issue: I don't know how to do this. :) Does anyone know of a feature or
>> code I could use as an example?
>>
>> Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "E-Prime" group.
>> To post to this group, send email to e-prime at googlegroups.com.
>> To unsubscribe from this group, send email to
>> e-prime+unsubscribe at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/e-prime/-/BaIbAT82ksYJ.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "E-Prime" group.
> To post to this group, send email to e-prime at googlegroups.com.
> To unsubscribe from this group, send email to
> e-prime+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20120927/4434d168/attachment.htm>
More information about the Eprime
mailing list