From OriginLab Wiki
(Difference between revisions)
|Revision as of 09:12, 3 September 2009 (edit)
Echo (Talk | contribs)
← Previous diff
|Current revision (05:33, 19 November 2012) (edit) (undo)
Kathy (Talk | contribs)
|(4 intermediate revisions not shown.)|
| || |
| ||==Summary==|| ||==Summary==|
|-|To import data with a pre-defined import filter, In version 7. you need to load ImportWiz workspace first and then load a saved Origin C file which call import funtions to use the specified filter. In Origin 8, there are two ways |+||import data a pre-defined , to load ImportWiz workspace and .|
| || |
|-|* Use impFile X-Function in script without compiling |+||Please see [http://.originlab.com/index.php?title=:wiki ] |
|-|*:Please see the detail example in [http:// wiki.originlab.com /~originla/wiki/index.php?title= LabTalk: Data_Import#impFile_X-Function_with_Sample_Filter Labtalk Guide wiki] |+|
| || |
|-|*Call a saved Origin C file |+||Origin :a file . Please see [http://.originlab.com/index.php?title=:wiki ] |
|-|*: You can save needed code in a Origin C file and then call it in script. Please see detail examples in [http:// ocwiki.originlab.com/index.php?title= OriginC: Importing_With_Filter Orign C wiki] |+|
In version 7.5, to import data from script using a pre-defined Import Wizard Filter (.OIF), one had to first load the ImportWiz workspace to ensure all necessary OC files are loaded and compiled.
In Origin 8, it is no longer necessary to load the ImportWiz workspace. Please see this Orign C wiki page page for details on how to call your own OC function to perform the import from script using a pre-defined filter.
Also, in Origin 8 one could simply use the impFile X-function from script to import a file using a pre-defined filter. In this case there is no need to write any OC code. Please see this Labtalk Guide wiki page for details.