Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
crabman
Posted - 03/03/2022 : 5:02:31 PM Hello, Im a scientist and not much of a programmer, I have received a program from a fellow scientist, who wrote it using an earlier version of origin (~2007)
I keep getting an error popup (error: calling members of unattached wrapper class) when I finish compiling and try to fit a graph. Any and all help would be very very appreciated.
Here is the code I'm trying to get to work:
[GENERAL INFORMATION] Function Name=ProgCurve051507 Brief Description= Function Source=N/A Function Type=User-Defined Function Form=Equations Number Of Parameters=6 Number Of Independent Variables=1 Number Of Dependent Variables=1 Analytical Derivatives for User-Defined=Off
[FITTING PARAMETERS] Naming Method=User-Defined Names=So, Km, sp, Et, Fo, Fi Meanings=? Initial Values=F(F),130e-6(F),132307(F),F(F),F(F),F(F) Lower Bounds=--(X, Off),1E-7(X, On),130983(X, On),1.934E-8(X, On),--(X, Off),--(X, Off) Upper Bounds=--(X, Off),1E-3(I, Off),133630(I, On),2.137E-8(I, On),--(X, Off),--(X, Off) Number Of Significant Digits=0,5,0,0,0,0
for(int ii = 0; dsX[ii]<x && ii<nSize-1; ii++); y = vY[ii];
[CONSTRAINTS]
[CONSTANTS]
[Parameters Initialization] /*Code to be executed to initialize parameters.*/
[INITIALIZATIONS] /*Code to be executed before fitting, a good place for complicated initialization.*/
[AFTER FITTING] /*Code to be executed after fitting, a good place for generating results.*/
[ON PARAM CHANGE] /*Code to be executed when parameters change.*/
[INDEPENDENT VARIABLES] x=
[DEPENDENT VARIABLES] y=
[CONTROLS] General Linear Constraints=Off Initialization Scripts=Off Scripts After Fitting=Off Number Of Duplicates=N/A Duplicate Offset=N/A Duplicate Unit=N/A Generate Curves After Fitting=Yes Curve Point Spacing=Same X as Fitting Data Generate Peaks After Fitting=Yes Generate Peaks During Fitting=Yes Generate Peaks with Baseline=Yes Paste Parameters to Plot After Fitting=Yes Paste Parameters to Notes Window After Fitting=Yes Generate Residuals After Fitting=No Keep Parameters=No Enable Parameters Initialization=0 Compile On Param Change Script=0