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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Edit parameter with nlpara; or nlpara1;

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Angino Posted - 03/12/2014 : 09:51:38 AM
Origin Ver. and Service Release (Select Help-->About Origin): 9.0
Operating System: Win 7

Good Afternoon,

Iīm trying to automatise my curve fitting. The Data I want to fit is described with an implict funktion. To do so i wrote this script:

nlbeginr (1,2) EinDiodenModell2 tt;
nlpara;
nlfit;
nlend 1 1;

now I want to be able to edit the Parameter in the Pop up window.
This Code just fits it and gives a Report.
I tried it with "nlpara 1;" because in the help it said i could do so to edit the parameter, but i only get an error message saying: "#Command Error!".
Does anyone know why this does not work or how i can make it work?

thanks
4   L A T E S T    R E P L I E S    (Newest First)
lkb0221 Posted - 03/13/2014 : 09:30:21 AM
Hi,

I also tried the following and it works fine in 9.0SR2:
//
nlbeginr irng:=(1,2:3) func:=planeMod nltree:=tt;
nlpara 1;
nlfit;
nlend 1 1;
//

Should use "nlpara 1" instead of "nlpara" only to pop up parameter editing dialog.
Maybe your problem is user defined function related?
But I duplicated circle function to make it a user defined one, and still no problem.

Zheng
OriginLab
Angino Posted - 03/13/2014 : 03:49:10 AM
in addition this might not have been very clear, the upper code works perfectly, fits, and gives a Report. Just the editing funcion is lacking functionality
Angino Posted - 03/13/2014 : 03:41:09 AM
HI Ikb0221

Yes it does work but not for an implict function, because mine has 2 independent variables, in which case one must use "nlbeginr". But if i use this the Pop up window disappears without editing opportunity right after it popped up and i donīt know why.
lkb0221 Posted - 03/12/2014 : 1:08:15 PM
Hi,

your "nlbegin" has a redundant "r" in the end.

I tried the following script and it works:
//
nlbegin iy:=(1,2) func:=gauss nltree:=tt;
nlpara 1;
nlfit;
nlend 1 1;
//

Zheng
OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000