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
 Origin Forum
 how do i do repetitive functions automatically?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jsweet

USA
1 Posts

Posted - 11/23/2004 :  2:56:23 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 R5
Operating System: XP

I import a series of data files, each as a seperate worksheet (let's say 25). I now have 25 worksheets with x-y data with in the first column and y in the second. How could I get Origin to generate a simple line curve on all 25 worksheets, so that I know have 25 sperate graphs. Furthermore, I'd like to tell origin to do a baseline fit and subtraction to each graph, and then integrate each graph. Finally, that integration algorithm supplies me with a peak y value for each of the 25 graphs which I'd like supplied to me for each graph. Thanks for any help you can supply!!

easwar

USA
1965 Posts

Posted - 11/23/2004 :  4:11:22 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

1> Look at batch.ogs script file in \Buttons subfolder of your Origin installation for an example of how to automate importing and analysis of multiple files - this file shows sample LabTalk script

2> Look at the following tool on File Exchange:
http://www.originlab.com/FileExchange/details.aspx?C=5&cid=11&fid=86
This tool provides a mechanism for batch import and plotting. It uses the Import Wizard filter mechanism. A filter can contain script code that performs analysis on the imported data and so this could be one way to include the analysis as part of your importing process for each file. The analysis can then be a script segment or a call to an Origin C function, and can be added to the script on the very last page (past the filter saving page, once the "Advanced" check box is checked on the filter saving page)

Easwar
OriginLab

Go to Top of Page

mwarner

USA
30 Posts

Posted - 11/30/2004 :  09:24:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
How does one install this file? Dragging it onto the active workspace returns an error.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 11/30/2004 :  11:02:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Drag and drop worked fine for me just now. Try installing with Tools->Pack/Unpack OPK Files.

Mike Buess
Origin WebRing Member
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