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
 LabTalk Forum
 obtaining values from fitted tables
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

thentangler

USA
Posts

Posted - 07/27/2011 :  3:48:52 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Is there a syntax in labtalk to obtain values from tables that are got from fitting?
Like if I do a polynomial fit and want to use the xc value from the table in a script im writing, how would I do that. It should be so that when ever the fit is updated, the value procured by the script should also change.
Thank You

Penn

China
644 Posts

Posted - 08/01/2011 :  9:36:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please use the getresults X-Function. For example, there is a report sheet named FitNL1 after fitting with the Poly function, then the a0 parameter can be gotten like:

getresults tr:=tree iw:=FitNL1!;
tree.parameters.a0.value=;


Penn

Edited by - Penn on 08/01/2011 9:36:51 PM
Go to Top of Page

thentangler

USA
Posts

Posted - 08/18/2011 :  6:45:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for the reply Penn.
SO would the value of "a0" be stored in the variable named "parameters"?
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