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
 Importing Selected Columns
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

a_user

USA
0 Posts

Posted - 08/14/1998 :  7:59:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I would like to be able to perform a partial import (ie import a range of columns from a large ASCII file) using a Labtalk script. I can do it by going through the ASCII import dialog boxes but I would like to automate the import process. Does anyone have any suggestions as to how this can be done. TIA

a_user

USA
0 Posts

Posted - 08/14/1998 :  12:02:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
... importing

Here is a simple solution. It is not exactly what you actually want and not elegant at all, but it should work without much effort

... you import the whole file:
getfile *.dat; open -w %A; <-- there is a sample button which comes with Origin which does this

... then you simply delete the columns you don't need:
delete Data1_A;delete DATA1_C or delete %E_colname

Go to Top of Page

alex2021

USA
4 Posts

Posted - 01/29/2010 :  12:48:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Origin pro 8.

I have data with 24 columns but I only want to import some of the columns, i.e 2,4,6,10. Does anyone know how to create an import theme that can import those selected columns and delete the rest of them. Thanks
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