When To Use The Data Converter Object
When To Use The Data Converter Object
When To Use The Data Converter Object
Table of Contents
Getting Started
The Data Converter object can be used with any HalWin software subpackage. To
insert and use the Data Converter object, you must first launch one of the HalWin
software subpackages.
2. Double-click on the icon. The <Subpackage> Job screen will appear, allowing
you to make your job selections.
2. Click OK.
3. Click OK. The Data Converter object is now inserted into your job and its icon
will appear on the base screen of the subpackage.
Figure 6—Data Converter object icon as it appears on the subpackage base screen
4. Click on the icon to open the Data Converter object. The screen will appear as
in Figure 7.
Note—You must create an .rtd file before converting a file to any other format.
a. From the Import dropdown menu, choose Convert to RTD or click the
Convert to RTD File button. The Import Data screen will appear.
b. From the Import Data screen, browse the directories to locate the data file
that you want to convert to an .rtd file. Click on the data file.
c. In the Export Data Types box, select New Real Time Data (.rtd). The Data
Converter object will convert the file into an .rtd file, and will place it in the
working directory you defined when you opened HalWin.
2. Export the .rtd file into the required file type.
a. From the Import dropdown menu at the top of the page, choose Convert to
RTD. The Import Data screen (Figure 8) will appear.
b. Browse the directories for the .rtd file that you want to convert, and click on
the file.
c. In the Export Data Types box, select the appropriate file format. The Data
Converter object will convert the .rtd file to the format you chose.
• To change the variable name, left-click on the variable name and type the
new name.
• To change the display units with a multiplier, left-click on the unit name.
The Change Display Units screen will appear. Select the unit you want to be
displayed from the units list. The program will use a multiplier to convert the
units.
Select Set storage units. The Change Storage Units in File screen will
appear.
Combining Files
To combine multiple files into one common file, use the Concatenate option. This
option is most often used to combine ASCII and .das files that are created by the
ACQUIRE system. In ACQUIRE and other data-acquisition programs, files are
limited to 720 KB or 1.44 MB. To use the data files in HalWin software, they must
be combined (“concatenated”) into one large file. The Concatenate function combines
ASCII files end-to-end and deletes the header lines so that they will not appear in the
middle of the data. To combine files, follow this procedure:
1. From the Import pulldown menu at the top of the page, select Concatenate
ASCII Job Data Files. The Concatenate ASCII Job Data Files screen will
appear.
2. Use one of the following procedures to select the file names you want to
combine:
• In the Input Files box, type the full path and file name
(c:\HalWin_Data\StimWin\990602\*.asc).
• Use the Browse button to select the required files.
• If the names are sequential (data1.asc, data2.asc, etc.), type the name with a
wildcard character (*) for the number (data*.asc).
3. In the Output File box, type the path with the name of the data file
(c:\HalWin_Data \StimWin\990602\acqcat.txt) or use the Browse button to
select the required file or directory name.
1. From the main Data Converter screen, click Select RTD Variables for
Exporting of Data. The Select RTD Variables for Exporting of Data screen will
appear.
2. Select the variables that you want to export to a .csv, .dbs, .das, or .rtd file. For
more information about file types, see Page 16.
3. Select the channel or channels from the .rtd file or files.
4. Select the file type you want to export to and click Export. The Data Export
Information screen will appear.
5. Click Reset Times to make sure that all the data are exported.
Note—To limit the file, change the start time and end time or date.
Note—If you are exporting the file as a .csv file format, the Events and Stages frame
will be active. The default setting will place the event and stage information at the end
of the .csv file.
Note—You can also change the amount of data to export by changing Time Incre-
ment, sec to a number greater than 1. For example, if you specify 5 seconds, every
fifth second of data will be written to a .csv file or another file format that you have
selected.
File Formats
~M
HTIME___.DT14
ZSTAGENO.NUM_
PTUBING_.PSI_
PANNULUS.PSI_
RSLURRY_.BPM_
VXSLURRY.GAL_
~F
%14.0f %f %f %f %f %f
~A
19930127100537 1.000000 2079.000000 21.000000 0.030000 0.000000
19930127100538 1.000000 2079.000000 21.000000 0.030000 0.000000
Click on a menu item to open its dropdown menu. Use the toobar icons for frequent
tasks. The icons duplicate some menu dropdowns. Menu and toolbar functions are
shown in Table 1.
Table 1—Data Converter Object Menu and Toolbar Functions
Toolbar
Menu Command Function
Icon
File Menu
View Menu
Toolbar Show or hide the toolbar.
Status bar Show the status bar at the bottom of the
screen.
Import Menu
Export Menu
Help Menu
Contents Display help.
Display program information, version num-
About
ber, and copyright.