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

Importing Third Party Files


Contents


Origin imports many widely-used third party data formats, including pClamp, ETAS INCA MDF, and NetCDF. Most of Origin's third party file import is handled by the discrete X-Functions listed in the following table:

File Type (Extension) X-Function Name
Common Data Format(CDF) impCDF
Comma Delimited(CSV) impCSV
Data Translation (DCF, HPF) impDT
Binary 2D Array (Img, B2B) impBin2d
EarthProbe (EPA) impEP
ETAS INCA MDF (DAT, MDF) impMDF
European Data Format (EDF,EDF+,BDF,REC,HYP) impEDF
Famos (DAT, RAW) impFamos
Heka (DAT) impHEKA
Hierarchical Data Format (H5,HE5,HDF5) impHDF5
IgorPro (PXP, IBW) impIgorPro
JCAMP-DX (DX, DX1, JDX, JCM) impJCAMP
KaleidaGraph (QDA) impKG
MATLAB (Mat) impMatlab
Minitab (MTW, MPJ) impMNTB
MZXML (mzData, mzXML, mzML, imzML) impMZXML
NetCDF (NC) impNetCDF
NI DIAdem (DAT) impNIDIAdem
NI TDM (TDM) impNITDM
pCLAMP (ABF, DAT, AB?)* imppClamp
Princeton Instruments (SPE) impSPE
Prism (PZFX, XML) impPrism
SigmaPlot (JNB) impJNB
Somat SIE (SIE) impSIE
Sound (WAV)* impWav
Thermo (SPC, CGM) impSPC

* Supports partial file import. See "Partial Importing of ASCII and Third-Party Files" in this chapter.

Import filters for all supported file types ship with Origin and those filters support the following import methods:


File Metadata

When you import a file, the file's date, name, and path are saved to the target workbook. Some third-party files contain additional metadata that is saved upon file import. For example, Origin will save time format information from an NI DIAdem .DAT file.

You can view the metadata associated with an imported file in the following ways:

page.info = <ENTER>
impinfo <ENTER>

With some files (e.g., .WAV and Thermo .SPC/.CGM), parameters read from the file headers are added to the target worksheet for graphing or analysis purposes. For instance, the sampling interval of a .WAV file is written to the header row of the target worksheet. When you plot the imported data, the sampling interval is used to set the X axis increment.

Import Mode

For most supported third party files, you can set the import range using controls in the import dialog boxes. Import Mode options are:

Notes:

  • Some X-Function based third party import routines do not support these Import Modes.
  • For Princeton Instruments SPE data files, the target window type as chosen by Origin will depend upon the dimensions of the data. If the data files are one-dimensional, they will be imported into a workbook. Otherwise a matrix book will be used as a target window (even if a workbook is the active window).

Secondary X-Function controls

When you import pCLAMP files, you can opt to open a special pCLAMP plotting panel on the left-side of the target workbook.

Image:Importing Third Party Files-1.png

This is done by selecting Show Control Panel for Making Plots under the Import Options branch of the imppClamp dialog box. This panel provides controls for such things as plotting channels and episodes, or display of an auxiliary plot control panel on the graph window. The auxiliary panel's Pick Value Line (see the picture below) control allows you to drag a line on the graph to read plot values and save them to a workbook.

Image:Importing Third Party Files-2.png

For more specific information on importing supported third party files, see the X-Function Help file (click Help, and then click X-Functions, or press F1 while the dialog box is open).

For direct access to the documentation from the Command Window, type the following at the command prompt:

help X-FunctionName

If you have a third party file that isn't currently supported, you may be able to develop your own import routine using the Origin Import Wizard (requires some Origin C coding ability). For more information, see "Programming File Import" later in this chapter.