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

aaly

Germany
6 Posts

Posted - 06/11/2019 :  04:54:10 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:
I have the data from the same machine but with different number of header lines. The import wizard does not auto determine where the header ends. For example, in my case the header should end at the line 'Z-Curve'. And the question is, how do I make it stop there ? Do I have to write a program for that ? If yes, where should I write this program ?
And thanks for sharing with me the Python link. But I want to make an import filter in Python and somehow run it in orgin instead of Importwizard. Is it possible ? If yes, how will I be able to connect Python with Origin.
I really appreciate your help.

regards,
Ali

ahmad

Echo_Chu

China
Posts

Posted - 06/11/2019 :  05:13:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Ali

Sorry that I did not realized that you have replied me in another post.

Usually if you write a C file and import data with User Defined method it should work for your case. But I am a little surprised that Import Wizard can not automatically detect the headers. Could you send one or two files to us so that we can further identify? You can send the file to tech@originlab.com.

To run Python in Origin and import data in Origin, you can use SetData function. Please look at the page below for further reference.

https://www.originlab.com/doc/python/PyOrigin/Classes/Column-SetData
https://www.originlab.com/doc/python/PyOrigin/Classes/Worksheet-SetData

Echo
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