
Contents |
Data Translation (DCF, HPF)
Import Data Translation Version 1.0 files
1. impDT fname:="c:\test.dcf";
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| File Name | fname |
Input string | |
Filename of the file to be imported. |
| File Info | trFiles |
Input TreeNode | |
This is used in the dialog for displaying the basic information of the file.
|
| Import Options | options |
Input TreeNode | |
This is used for specifying the import filter.
|
| Output | orng |
Output Range | |
This is used to specify the output range. See the syntax here. |
| Header Info | finfo |
Output TreeNode | |
This is for outputting the header information. It is hidden from the GUI. Users are not advised to use this variable.
|
This X-Function is used for importing Data Translation (DCF, HPF) files. The supported file version is 1.0.
1. The following example imports a .hpf data:
2. The following script command imports a Data Translation file (c:\test.hpf) without opening the dialog: