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 for Programming
 Forum for Origin C
 Import .txt-file with several options
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

fjenne01

Germany
1 Posts

Posted - 04/18/2016 :  08:07:43 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 9.1
Operating System: Win7

Hey everyone,

I try to handle some measurement-data with Origin. For that I learned Origin C in the past days.

The final step is to import measurement-data stored in a .txt-file. I imported it manuelly with the "import assistent" and saved a filter (*.oif). Now I want to start the import in an Origin C script that cotains the path-name in a variable.

How do I do this in best way?

I heared about a method with X-Functions to use the saved filter: impFile fname:="filepath" filtername:="filterpath"; (how is it working in c-code?)

Thank you very much for your help :)!
Felix

SeanMao

China
288 Posts

Posted - 04/19/2016 :  04:41:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Felix,

The quickest way to be calling X function from Origin C code. You can find examples in this page for details:

http://originlab.com/doc/OriginC/guide/Accessing-X-Function

Regards!

Sean

OriginLab Tech.
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