Changes to Import Data With a Pre-defined Filter in Script

From OriginLab Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:45, 3 September 2009 (edit)
Echo (Talk | contribs)
(New page: Category:Useful Information for Upgrade Users ==Summary==)
← Previous diff
Current revision (05:33, 19 November 2012) (edit) (undo)
Kathy (Talk | contribs)
(Summary)
 
(6 intermediate revisions not shown.)
Line 2: Line 2:
==Summary== ==Summary==
 +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 [http://ocwiki.originlab.com/index.php?title=OriginC:Importing_With_Filter 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 [http://wiki.originlab.com/~originla/wiki2/index.php?title=X-Function:ImpFile '''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 [http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:Data_Import#impFile_X-Function_with_Sample_Filter this Labtalk Guide wiki page] for details.

Current revision


[edit] Summary

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.