Origin Ver. 7.0 and Service Release 0 (Select Help-->About Origin):
Operating System: Virtual XP under Win 7
I open two graphical objects with "LT_execute" and "draw -n objname -f read template".
I want the user to be able to input some parameters and then continue after the user clicks
the "start fit" checkbox.
Here is my code for these gobjects:

enum {MUA_INIT=1, MUSP_INIT, REFRACTIVE_INDEX, ISVARREFRACTIVEINDEX, DIFFUSIONMETHOD, STARTFIT};
int functionname(void){
string LT_cmdStr;
double isstartfit;
LT_execute("draw -n DiffusionFit_Parameters -f read %y\OriginC\DiffusionFit\Difffitopt");
LT_execute("draw -n DiffusionFit_Note -f read %y\OriginC\DiffusionFit\Difffitnote");
LT_cmdStr.Format("DiffusionFit_Parameters.special.value%1d",STARTFIT);
isstartfit = 0;
while (0 == isstartfit){
LT_get_var(LT_cmdStr, &isstartfit);
}
LT_execute("label -r DiffusionFit_Parameters");
LT_execute("label -r DiffusionFit_Note");
}
The problem is the CPU usage while waiting for the user pressing the "start fit" checkbox.
I even cannot move the mouse cursor anymore. After pressing escape and stopping the program with the debugger
Origin is still working. Is there another way to get programatical response from a checkbox inside a status object
which does not block cpu?
Yours MonT