OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

impDT

Contents

Menu Information

Data Translation (DCF, HPF)

Brief Information

Import Data Translation Version 1.0 files

Command Line Usage

1. impDT fname:="c:\test.dcf";

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
File Name fname

Input

string

fname$

Filename of the file to be imported.

File Info trFiles

Input

TreeNode

<unassigned>

This is used in the dialog for displaying the basic information of the file.
See more details in Description table

Import Options options

Input

TreeNode

<unassigned>

This is used for specifying the import filter.
See more details in Description table

Output orng

Output

Range

<active>

This is used to specify the output range. See the syntax here.

Header Info finfo

Output

TreeNode

<unassigned>

This is for outputting the header information. It is hidden from the GUI. Users are not advised to use this variable.
See more details in Description table


Description

This X-Function is used for importing Data Translation (DCF, HPF) files. The supported file version is 1.0.

Please see this page for more details.

Examples

1. The following example imports a .hpf data:

a. From the Origin menu, select File: Import: Data Translation (DCF, HPF). This opens the DCFFiles dialog for you to choose the import file.
b. Browse to the folder where your data file is. Select the file and click the Add File(s) button. Click OK to close the dialog box.
c. In the impDT dialog box, Click Ok to close the dialog.

2. The following script command imports a Data Translation file (c:\test.hpf) without opening the dialog:

Fname$="c:\test.hpf";
impDT;

Related X-Functions

impFile, impinfo