The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Fix parameters in NLfitting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Crawler

2 Posts

Posted - 09/02/2010 :  05:59:57 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8
Operating System: Windows XP

Hello,
I need help with a small program I'm writing in Origin C to automate a lenghty data-processing operation. I managed to load the data and doing all I need to, only problem now is I have to fit it with 8 parameters, 4 of which are to stay fixed. I have managed to input the parameters in the fit (copy-pasted the code from the guide, actually, with some modifications), but I can't find how can I set the parameters to be checked. I guess it must be some BOOL member of the NLfit instance I have to set to 'true', but what's the name? Thank you for your help.

Penn

China
644 Posts

Posted - 09/03/2010 :  05:00:55 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please try the NLFitSession class. The method named SetParamFix can be used for your requirement. The difference between NLFitSession class and NLFit class is here

Penn
Go to Top of Page

Crawler

2 Posts

Posted - 09/03/2010 :  09:24:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you.
Actually, I already had come to that answer... and yes, it works just fine. I have finished my program right now, it works perfectly.
Thank you anyway for your help!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000