MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Button Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109265] Re: Button Problem
  • From: Chris Degnen <degnen at cwgsy.net>
  • Date: Mon, 19 Apr 2010 06:49:18 -0400 (EDT)
  • References: <hqgued$6k1$1@smc.vnet.net>

Another way to avoid the time-out limit is to run this on
initialisation:

SetOptions[$FrontEnd, DynamicEvaluationTimeout -> 5000];


On 19 Apr, 07:49, Gehrmann <jim.gehrm... at gmail.com> wrote:
> I am using Mathematica 7 to analyze a large data set and have written
> a program which runs successfully when invoked as follows:
>
> analyzer["C:\\mdtp\\Jim\\Data\\Data\\Field07Aout.txt", "abc", "All",
>   "All", "-9", "PT", "-9", "CC", "EQ", "1", "1", "No", "{1}"];
>
> However, I would like to create a button notebook which allows the
> user to change parameters and push a button once the desired
> parameters have been chosen.  I've tried the following statements:
>
> Get["C:\\mdtp\\currentparameters.txt"];  (*reads the same parameters
> used above from a file*)
>
> Button["Click Here to Produce Summary and Question Analyses",
>   analyzer[testnamex, sourcenm, specification, selecteddatnm,
>   posttestcorr, posttestnm, coursecorr, coursecorrnm, equator,
>   ToExpression[alph], ToExpression[bet], graffile, qtoshow]]
>
> which displays a button--on pushing the button the analyzer routine is
> invoked but doesn't complete--no error message is displayed.  I
> believe that this button approach is exceeding some time or memory
> limit but haven't been able to determine which in order to make the
> button invocation method work.  I would appreciate any help on this.
> Thanks.



  • Prev by Date: Re: cant free ram..
  • Next by Date: Framing a histogram
  • Previous by thread: Re: Button Problem
  • Next by thread: Re: Button Problem