2.7.44 impJNB

Menu Information

Data: Import from File: SigmaPlot (JNB)


If you do not see this file type, choose Data: Import from File: Add/Remove File Types...

File Import Add Menu.png

To add drag & drop support for a file type, see Import Filter Manager.

Brief Information

Import SigmaPlot (JNB) file.

Command Line Usage

1. impJNB fname:="Sample.JNB"

2. fname$="Sample.JNB"; impJNB

3. impJNB fname:="Sample.JNB" orng:=Col(2)

4. impJNB trifles:="*.JNB";

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

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

Input

string

fname$

Filename(s) of the SigmaPlot (JNB) file(s) to be imported.

File Info trFiles

Input

TreeNode

<unassigned>

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

Import Options options

Input

TreeNode

<unassigned>

This is the TreeNode for the import filter. Users are not advised to use this variable.
See more details in Description table

Output orng

Output

Range

<active>

The range for the imported data. See the syntax here.

Header Info finfo

Output

TreeNode

<optional>

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 for importing SigmaPlot JNB files.

Details on Some Dialog Options

  • Import Options(options)
Please see this page for more details.

Examples

1. The following example imports a SigmaPlot data to a worksheet:

a. From the Origin menu, select Data: Import from File: SigmaPlot (JNB) or type impJNB -d in command window. This opens the SigmaPlot File 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 impJNB dialog box, use the range selector to specify the output range for the Import Data Into control. Click Ok to close the dialog.

2. The following script command imports a SigmaPlot file (C:\samples.JNB) without opening the dialog:

fname$="C:\Sample.JNB";
impJNB;

Related X-Functions

impFile, dlgFile, impinfo, cd