1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3//EN">
<HTML><HEAD>
<TITLE>QuickStart Guide - Using the Header File to Import Data</TITLE>
<META HTTP-EQUIV="keywords" CONTENT="GRAPHICS VISUALIZATION VISUAL PROGRAM DATA
MINING">
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
</HEAD><BODY BGCOLOR="#FFFFFF" link="#00004b" vlink="#4b004b">
<TABLE width=510 border=0 cellpadding=0 cellspacing=0>
<TR>
<TD><IMG src="../images/spacer.gif" width=80 height=1></TD>
<TD><IMG src="../images/spacer.gif" width=49 height=1></TD>
<TD><IMG src="../images/spacer.gif" width=24 height=1></TD>
<TD><IMG src="../images/spacer.gif" width=100 height=1></TD>
<TD><IMG src="../images/spacer.gif" width=3 height=1></TD>
<TD><IMG src="../images/spacer.gif" width=127 height=1></TD>
<TD><IMG src="../images/spacer.gif" width=6 height=1></TD>
<TD><IMG src="../images/spacer.gif" width=50 height=1></TD>
<TD><IMG src="../images/spacer.gif" width=71 height=1></TD>
</TR>
<TR>
<TD colspan=9><IMG src="../images/flcgh_01.gif" width=510 height=24 alt="OpenDX Documentation"></TD>
</TR>
<TR>
<TD colspan=2><A href="../allguide.htm"><IMG src="../images/flcgh_02.gif" width=129 height=25 border="0" alt="Full Contents"></A></TD>
<TD colspan=3><A href="../qikguide.htm"><B><IMG src="../images/flcgh_03d.gif" width=127 height=25 border="0" alt="QuickStart Guide"></B></A></TD>
<TD><A href="../usrguide.htm"><IMG src="../images/flcgh_04.gif" width=127 height=25 border="0" alt="User's Guide"></A></TD>
<TD colspan=3><A href="../refguide.htm"><IMG src="../images/flcgh_05.gif" width=127 height=25 border="0" alt="User's Reference"></A></TD>
</TR>
<TR>
<TD><A href="qikgu031.htm"><IMG src="../images/flcgh_06.gif" width=80 height=17 border="0" alt="Previous Page"></A></TD>
<TD colspan=2><A href="qikgu033.htm"><IMG src="../images/flcgh_07.gif" width=73 height=17 border="0" alt="Next Page"></A></TD>
<TD><A href="../qikguide.htm"><IMG src="../images/flcgh_08.gif" width=100 height=17 border="0" alt="Table of Contents"></A></TD>
<TD colspan=3><A href="qikgu027.htm"><IMG src="../images/flcgh_09.gif" width=136 height=17 border="0" alt="Partial Table of Contents"></A></TD>
<TD><A href="qikgu035.htm"><IMG src="../images/flcgh_10.gif" width=50 height=17 border="0" alt="Index"></A></TD>
<TD><A href="../srchindx.htm"><IMG src="../images/flcgh_11.gif" width=71 height=17 border="0" alt="Search"></A></TD>
</TR>
</TABLE>
<H2>5.6 Using the Header File to Import Data</H2>
<A NAME="IDX408"></A><A NAME="IDX409"></A>
<P>
Once you have created a Data Prompter header file, the next step is to use that
file to import the data it describes.
The basic procedure follows:
<OL COMPACT>
<LI>Place an Import tool icon on the VPE canvas
(see <A HREF="qikgu016.htm#HDRTSTAPI">"Selecting tools and placing icons"</A>).
<LI>Double click on the icon to invoke the configuration dialog box
(see <A HREF="#FIGDP12">Figure 19</A>).
<A NAME="IDX413"></A>
<A NAME="IDX414"></A>
<LI>The following information is required:
<OL COMPACT>
<LI>The (path) <TT><STRONG>name</STRONG></TT> of the header file to be
imported (in the first text field of the
<TT><STRONG>Value</STRONG></TT> column
(at right).
If the Import module is part of a network displayed in the
VPE, the path name appears automatically.
<LI>Set <TT><STRONG>format</STRONG></TT> (the third field of the column)
<LI>Set <TT><STRONG>format</STRONG></TT> (the third field of the column)
to "general" unless the header file already has that
as its extension.
</OL>
<A NAME="IDX415"></A>
<P><B><A NAME="FIGDP12" HREF="../qikguide.htm#FT_FIGDP12">Figure 19. Import
Configuration Dialog Box</A></B>. <B><BR><CENTER><IMG
SRC="../images/impconf.gif" ALT="Figure impconf not
displayed."></CENTER><BR></B><BR>
<P><B>Notes: </B><OL>
<P><LI>Header files created with the Data Prompter are given this extension
automatically when they are saved with Save As...
(Step 10 of Example 1 in <A HREF="qikgu028.htm#SPTEX1A">To save the header
file</A>).
<P><LI>The <TT><STRONG>variable</STRONG></TT> parameter can be used to import a
subset of the variables specified by the <TT><STRONG>field</STRONG></TT>
keyword statement.
For the General Array format, by default, all variables are imported.
</OL>
</OL>
The specified data file will now be imported when any visualization
program containing this Import module is run.
<P>
<HR>
<DIV align="center">
<P><A href="../allguide.htm"><IMG src="../images/foot-fc.gif" width="94" height="18" border="0" alt="Full Contents"></A> <A href="../qikguide.htm"><IMG src="../images/foot-qs.gif" width="94" height="18" border="0" alt="QuickStart Guide"></A> <A href="../usrguide.htm"><IMG src="../images/foot-ug.gif" width="94" height="18" border="0" alt="User's Guide"></A> <A href="../refguide.htm"><IMG src="../images/foot-ur.gif" width="94" height="18" border="0" alt="User's Reference"></A></P>
</DIV>
<DIV align="center">
<P><FONT size="-1">[ <A href="http://www.research.ibm.com/dx">OpenDX Home at IBM</A> | <A href="http://www.opendx.org/">OpenDX.org</A> ] </FONT></P>
<P></P>
</DIV>
<P></P>
</BODY></HTML>
|