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
 Export of Fitting results
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kamikatze

Germany
1 Posts

Posted - 02/02/2010 :  11:20:27 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

easwar

USA
1964 Posts

Posted - 02/02/2010 :  1:18:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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