The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Import data in Origin

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
aaly Posted - 06/03/2019 : 10:30:26 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hello!

I want to make an import filter to import different set of data.
I tried import wizard in the beggining, but it does not fulfill the demand.
I also tried programming in Origin C, but i am not so good at it and no success there too.
Finally I made a filter in Python which was working for some data, but as I need my data in Origin,is there anyway I can use my Python filter in Origin?

And what is the best way to make an import filter in Origin?
Any help will be really appreciated.

best regards,
Ali

ahmad
5   L A T E S T    R E P L I E S    (Newest First)
Echo_Chu Posted - 06/11/2019 : 10:56:15 PM
Hi, Ali

I got it. I will follow up with you from the email.

Thanks, Echo
OriginLab Technical Support
aaly Posted - 06/11/2019 : 05:53:24 AM
Thanks for the reply.

I have sent you the file. Please check it, and let me know!



ahmad
Echo_Chu Posted - 06/11/2019 : 05:14:31 AM

Hi, Ali

Sorry for reply late

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
aaly Posted - 06/07/2019 : 06:57:42 AM
Thanks a lot for your reply!

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
quote:
Originally posted by Echo_Chu

Hi, Ali

You can run Python in Origin. Please look at the help document below to see whether it works for you.
https://www.originlab.com/doc/python


However, if using Import Wizard, for different set of data, I think you should use different import filter.

Could you let me know how you fail to use Import Wizard to do the job so that we can see what is the best way for you.

Echo
Originlab Technical Support



ahmad
Echo_Chu Posted - 06/04/2019 : 05:31:50 AM
Hi, Ali

You can run Python in Origin. Please look at the help document below to see whether it works for you.
https://www.originlab.com/doc/python


However, if using Import Wizard, for different set of data, I think you should use different import filter.

Could you let me know how you fail to use Import Wizard to do the job so that we can see what is the best way for you.

Echo
Originlab Technical Support

The Origin Forum © 2008 Originlab Corporation Go To Top Of Page
Snitz Forums 2000