
You might consider programming your file import in the following cases:
For the first case, you can write a Labtalk script to automate the importing, if the files are ASCII or of any supported third party file formats.
When your data files are of un-supported formats, you can import them with the Import Wizard as User-Defined files, providing that the import instructions in the form of an Origin C function are supplied. The Origin C source file, which contains the function, can be specified in the User Defined Filters page of the Import Wizard.
Writing an Origin C function to extract variables from the header provides you more control than the Import Wizard offers. In the Extract Variable page of the Import Wizard, you can enter the source file and the function name to specify the function that performs the variable extraction.
|
Topics covered in this section: |