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
 Export of Fitting results

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
kamikatze Posted - 02/02/2010 : 11:20:27 AM
I startet programming with Labtalk and I want to write a short script which exports the final fit parameter values to a new Sheet. As I use a batch script to fit multiple Workbooks, the results for each workbook should be copied into a new row. How do I start this script? And how do I add a variable from the data worksheet to the one withe the fittung results?

I use Origin Ver. 8.1
1   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 02/02/2010 : 1:18:00 PM
Hi,

As you have version 8.1, batch processing is a feature in this version, where multiple datasets or files can be processed without having to write code, creating a summary report. So you may want to look at that feature to decide if still need to do programming for your needs. You can watch this movie to review the feature:
http://originlab.com/index.aspx?s=9&lm=407&pid=1559

If you need to continue scripting your batch processing:
Are the results from each fit in a report sheet (the default report sheets with collapsible tables that is created say when you use NLFit tool)? If yes, you can read the report sheet into a tree and then extract the desired values using the getnlr X-Function:
http://wiki.originlab.com/~originla/wiki2/index.php?title=X-Function:Getnlr

There are script examples on fitting on our wiki:
http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:Curve_Fitting
and the LT Guide gives necessary information on creating worksheets etc.
http://wiki.originlab.com/~originla/wiki/index.php?title=Category:LT_Guide
The above information is also in your help files.

Easwar
OriginLab

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