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

impinfo

Contents

Brief Information

Read information related to import files.

Additional Information

X-Function not designed for Auto GetN Dialog.

Command Line Usage

1. impinfo trinfo:=mytree; mytree.=;

2. impinfo findex:=0 trinfo:=mytree; ;

3. impinfo ipg:=book1 findex:=1 fcount:=mycount trinfo:=mytree;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Page ipg

Input

Page

<active>

The worksheet to which some files have been imported.

File Index findex

Input

int

0

The index of the file that has been imported into the workbook. Note that the index of the first imported file is 0 and the index of the second imported file is 1... The default file index is -1, which corresponds to the last file that has been imported.

Info trInfo

Output

TreeNode

trInfo

The tree for outputting the information.
See more details in Description table

File Number fcount

Output

int

<unassigned>

Number of the imported file(s)

Description

The impinfo function is designed to read the information from the binary storage of the specified workbook and prints the result in the Command Window. Note that this X-function can be used only in Command Window.

Examples

To get the data range for the 1st file in book1 into a LabTalk tree variable called mytree, use the following script command:

impinfo ipg:=book1 findex:=0 trinfo:=mytree; 
mytree.=

Related X-Functions

impFile