Create or edit an import filter
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Filter Name | fname |
Input string |
|
The name of the filter which is being edited. This is not editable from the dialog. |
Format Name | format |
Input string |
|
Specifies the format of the imported files. Once you selected a file format, corresponding X-Function will be called. |
General Import Setting | gsetting |
Input TreeNode |
|
Specifies the general import settings in the filter.
|
Special Import Setting | options |
Input TreeNode |
|
Specifies the special import settings in the filter.
|
User Defined | userdefined |
Input TreeNode |
|
In the dialog, when you load user defined type Import Filter, it will show User Defined branch. Underneath, there are 3 branches with checkbox to enable Python Code, Python File, Origin C. |
Input Filter Tree | ifilter |
Input TreeNode |
|
This is not editable from the dialog. |
Output Filter Tree | ofilter |
Output TreeNode |
|
This is not editable from the dialog. |
This X-function is used to make/edit import filter. See also Import Filter Manager for more info.
Settings in the dialog:
File Name Filter | The file name filter, for example, *.dat means this filter is used to import file whose name match the pattern *.dat, such as medicine.dat, ammo.dat |
---|---|
Drag@Drop Exclusion | Specify the files to exclude them from current filter. When drag and drop these files, this filter will not be available. |
Filter Description | The description of the filter which is use to specify its usage. |
Module Location Path | When you are saving a filter based on an import file APP, such as Import Shapefiles, you need specify the module path of that APP(such as <App folder>\Import Shapefile\) for the drag&drop importing behavior. |
Page Type | Select the type of page to be imported to. You can choose worksheet, Matrix or None. |
Show Filter in File: Open List | To specify whether to show the filter in the File Open list or not. |
Open XF Dialog | To open the dialog or not in the process of importing. |
Script after Each File Imported | Run the Labtalk script after import one of the files, for example, you can specify to run plotxy iy:=(1,2) to plot a graph after import a data file.
|
Script after All Files Imported | Run the Labtalk script after import all files. |
Special Import Setting | This group of setting depends on the specific import X-Function, please refer to the documents of them for more details. |