T O P I C R E V I E W |
aaly |
Posted - 06/11/2019 : 04:54:10 AM 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 |
1 L A T E S T R E P L I E S (Newest First) |
Echo_Chu |
Posted - 06/11/2019 : 05:13:13 AM 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 |
|
|