Section 6. import/export, 1 importing data – Campbell Scientific ID-2000W Software User Manual
Page 55

6-1
SECTION 6. IMPORT/EXPORT
6.1 IMPORTING DATA
ID-2000 includes data import utilities for ASCII
data files as well as files produced by
specialized data acquisition equipment. To
import a data file you may either select the File -
Import menu item or click the “Import” button
when selecting a Primary or Secondary data
file.
There are virtually an unlimited number of file
formats in which data may be stored. As a
result you may find that ID-2000 is unable to
directly import your data. Most data producing
programs include the ability to export data to
other data formats such as ASCII, DADiSP, etc.
Even if your original data file is not directly
supported by ID-2000 you may be able to export
the data using the software that originally
created it to a format that is supported by ID-
2000. You should also contact Interface Design
to find out if an import program has already
been written for your specific file format.
There are two methods for importing a data file
into ID-2000. You may select the File - Import
menu item or simply click on either the primary
file button or a graph’s data file button in the
Plot Template View window. The file selection
dialog box will appear as shown in Figure 6-1.
In the bottom left corner of the dialog is a drop
down list labeled “List Files of Type:”. If you
click on the drop down arrow you will see a list
of all “built-in” file imports. They include imports
for data files from previous ID-2000 DOS
versions, ASCII text, and various specialized
formats produced by different data acquisition
equipment.
If you are unable to produce a data file in a
format supported by ID-2000 you have two
options.
•
You can write your own file conversion
utility. This chapter contains a complete
description of the ID-2000 file format.
However, writing a file conversion utility is
not a trivial matter and requires significant
programming experience.
•
Contact Interface Design about having a
custom import utility written for you on a
contractual basis. This is often faster and
more cost effective than trying to write a
conversion program yourself. Contact the
Interface Design sales department for more
information.
Any custom import utility can be added to the
“List Files of Type” drop down list in the file
selection dialog. This allows you to
automatically execute your import utility from
within ID-2000. Your import utility will be
executed with two command line arguments.
The first argument is the name of your data file
you wish to import. The second argument is the
name of the new ID-2000 Windows file you wish
to create.
FIGURE 6-1. Select Data File For Import