Announcement

Collapse
No announcement yet.

Must I remove/reload a study to change inputs?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Must I remove/reload a study to change inputs?

    I have been working with eSignal studies over the weekend and am getting my programming chops back.

    Unfortunately, sometimes when searching, you don't know what something is called. So please bear with me if the answer to my question can be found. I just couldn't find it!

    What I want to do is have the ability to change the inputs at anytime rather than remove/reload the study.

    Can this be done?

    If so, how?

    THANKING YOU IN ADVANCE.

    Code section I am refering to:

    PHP Code:

    askForInput
    ();


        var 
    xInterval = new FunctionParameter("xInterval"FunctionParameter.NUMBER);
        
    xInterval.setDefault60 );

        var 
    xLength1 = new FunctionParameter("xLength1"FunctionParameter.NUMBER);
        
    xLength1.setDefault05 ); 


        var 
    iColorTop = new FunctionParameter("iColorTop"FunctionParameter.COLOR);
            
    iColorTop.setDefaultColor.green );

        var 
    iColorBottom = new FunctionParameter("iColorBottom"FunctionParameter.COLOR);
            
    iColorBottom.setDefaultColor.red );

    function 
    mainxInterval xLength1iColorTop iColorBottom ) { 

  • #2
    You can use "Button" style code to select parameters without doing a manual reload (you may have to do a programmed reload - but be careful you don't get caught in an infinite loop). This isn't as flexible as a prompt, but should work.

    There is a lot of different "button" efs code out there.

    If you want the flexibility of a real use prompt - you could use a single button that then uses Divergence Software EFS prompt tool kit located
    here
    Garth

    Comment


    • #3
      Thanks for the link.

      Comment

      Working...
      X