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

juannim

USA
Posts

Posted - 11/16/2006 :  10:45:10 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System:win 2000
I'm just getting started with origin, and am importing multiple csv ascii files (5 columns each) from my digital scope into a single worksheet. The first 3 columns from each file are junk. How do I automatically delete the first 3 columns, then name the two remaining columns with the file that they came from? Thanks. Jonathan

Mike Buess

USA
3037 Posts

Posted - 11/16/2006 :  11:12:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The Origin C function that I posted in the following topic should work...
http://www.originlab.com/forum/topic.asp?TOPIC_ID=5273

You'll need to make a few simple changes...

1. Change the value of ascimp.iHeaderLines to the number of lines in your file header. (If no header set value to zero.)

2. Change the values of ascimp.iPartialC1 and ascimp.iPartialC2 to 3 and 4, respectively.

3. If you don't want to plot the results then delete or comment all lines after wks.ShowLabels();.

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