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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Import .txt-file with several options

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 HyperlinkUpload FileInsert 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 [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
fjenne01 Posted - 04/18/2016 : 08:07:43 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
SeanMao Posted - 04/19/2016 : 04:41:03 AM
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.

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