
Contents |
KaleidaGraph (QDA)
Import KaleidaGraph file
1.fname$="c:\simple.qda" impKG;
2.impKG fname:="c:\simple.qda"
3.impKG fname:="c:\simple.qda" orng:=book1
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| File Name | fname |
Input string | |
Filename(s) of the file(s) to be imported. Click the browse button beside the list box to open one or more files and the filenames will be listed in the box. |
| File Info | trFiles |
Input TreeNode | |
This is used to show basic info of the file. See Description part of this document for details.
|
| Import Options | options |
Input TreeNode | |
This is used to set the import options in the dialog. Please see the Description part of this document for details.
|
| Output | orng |
Output Range | |
The range for where the data should be imported into. See the syntax here. |
| Header Info | finfo |
Output TreeNode | |
This is for outputting the header information, which is hidden from the GUI. Users are not advised to use this variable.
|
This X-Function is for importing Kaleida Graph data files.
Details on Some Dialog Options
1. The following example imports an KaleidaGraph data file into a new book and renames the book with the filename:
impKG -d in command window. This will open the impKG dialog for you to choose the import file.
2. The following script command imports a KaleidaGraph file (c:\simple.qda) without opening the dialog:
fname$="C:\Simple.qda";
impKG;
3. The following example will use script to import all MDF files under a specific folder (assume it is C:\KaleidaGraph\).
findFiles path:="c:\KaleidaGraph" ext:="*.qda";
impKG;