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
 Data Import with labtalk - tool
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

harryandyuto

Germany
Posts

Posted - 05/25/2005 :  05:46:00 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am looking for a simple tool to import txt files (ascii format) into different worksheets. Programming language must be labtalk - I only have origin 6.1

I also want to create after import some graphs - with templates.

Does some have such a tool to share, or where could I find such a tool.
As I am not really familiar with Labtalk it would be easier for me. But changing some lines in the code - I think i can manage this!

I only found a tool for Origin 7.5 - wich is not compatible
Thx Harald Cholewa

Laurie

USA
404 Posts

Posted - 05/25/2005 :  11:22:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Harald,

You can look in the Buttons subfolder of the Origin root folder and here you'll find a file called batch.ogs. This is a script file written in Labtalk and does the following:

1. Imports each file into a new worksheet
2. Plot all data in worksheet to a graph window
3. Perform Linear fit from Simplefit code in LR.OGS
4. Report Slope and Intercept values to Results log for each fit

Laurie

P.S. You may want to consider upgrading - watch this multimedia to see what you're missing in Origin 7.5: Origin Upgrade Overview


OriginLab Technical Support
Go to Top of Page

Laurie

USA
404 Posts

Posted - 05/26/2005 :  5:34:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In Origin 6.1 to run the code from the Script Window, you'll need to use:

run.section(%Y\buttons\Batch,Main);


OriginLab Technical Support
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