Hi Arda,
I tried the function pasted below in 7SR4 and 7.5SR5 and in both cases, I do not get a graph created. Perhaps you can debug the code and see when the graph gets created?
Note that I used NLSF.end(13) instead of nlsf.end() - but that is to turn off reporting to result log, turn off the result worksheet etc. and using 13 or leaving it as no argument both did not create a graph for me.
Easwar
OriginLab
void test()
{
using NLSF = LabTalk.NLSF;
NLSF.Init();
NLSF.output(0);
NLSF.Func$ = "expdecay1";
NLSF.P1 = 70;
NLSF.P2 = 0.01;
NLSF.P3 = 80;
NLSF.P4 = 0.2235;
NLSF.V4 = 0;
NLSF.FitData$ = "data1_b";
NLSF.Wtype = 3;
NLSF.W$ = "data1_c";
NLSF.ChiSqrErr = 0;
NLSF.IterateEx(100);
NLSF.IterateEx(100);
NLSF.IterateEx(100);
NLSF.End(13);
}