DAT .CSV, . DAT, . TXT File Description

 

The DAT filter imports and exports tabular data from delimited text files.

 

These file formats are assumed to have one record per line in which each record contains a fixed number of numeric data fields. The method of delimiting the fields within each record is specified through the controls in the Data Import Options and Data Export Options dialog. The comma separated value .CSV, data .DAT, and text .TXT files are used for the digital storage of data structured in a table of lists. A comma separated value .CSV file is a delimited data format that has fields/columns separated by the comma character and records/rows separated by newlines. The .TXT is a filename extension for files consisting of text usually contain very little formatting (ex: no bolding or italics). Files with the .TXT extension can easily be read or opened by any program that reads text and, for that reason, are considered universal (or platform independent).

 

Worksheet Formatting

ASCII files do not contain any worksheet formatting information such as row height, column width, or cell formatting. When ASCII files are loaded into the worksheet, the default column formatting parameters are applied to the data. This does not result in any change to data, but might result in rounding of values in the data display. There is no limitation on the number of rows or columns in an ASCII format. ASCII formats save and load slowly because there is a conversion from binary numbers to character representation.

 

Format

There are some distinctions in formatting of ASCII files. Here are some brief notes that outline the usefulness of the ASCII file features.

Comma Separated Variables

Comma separated variable .CSV files are comma delimited with double-quotes around text strings (non-numeric or mixed alpha numeric).

 

When the computer's locale setting has the Decimal separator as comma, .CSV files are imported with commas as the decimal separators and semi-colons as column separators. If the CSV delimiter and the computer's locale delimiter are not the same the CSV will import incorrectly. Use the following process to correctly import the data into Voxler for use in the worksheet or project.

  1. Open the CSV in a text editor application, such as Windows Notepad.

  2. Press CTRL+A to select all the text in the file.

  3. Copy the selected text to the clipboard. Press CTRL+C or use the text editor's Copy command.

  4. In Voxler, click the File | New | Worksheet command.

  5. Select the top-left cell in which the data should be pasted, usually A1.

  6. Click the Edit | Paste Special command.

  7. In the Paste Special dialog, select the Unicode Text [Clipboard] or Text [Clipboard] option, and make sure the Show Import Options box is checked.

  8. Click OK in the Paste Special dialog.

  9. In the Data Import Options dialog, change the selection in the Delimiters section and the Use comma as decimal symbol check box until the data are displayed correctly in the Preview section.

  10. Click OK in the Data Import Options dialog.

  11. Click the File | Save As command to save the reformatted data to a new data file.

 

Alternatively you can change the computer's locale setting to match that of the CSV file, and then open the file in a new instance of Voxler.

 

ASCII Text

ASCII text files .TXT are normally tab delimited ASCII text files with no quotes around the text strings. After selecting .TXT as the format, the Data Export Options dialog is displayed.

 

Golden Software DAT Files

ASCII .DAT files are ASCII files with no set format. Any delimiter or text qualifier can be set. When a file is saved in the .DAT format, the Data Export Options dialog is displayed.

 

 

File Name Extensions

.CSV, . DAT, . TXT

 

Format(s) Supported for Import

tabular data; double

 

Format(s) Supported for Export

tabular data; double

 

Import Method

Choose the File | Import command.

 

Import Options

Specify import options in the Data Import Options dialog.

 

Export Method

Select a data or lattice module and choose the  command to save point and tabular data to an ASCII data format.

 

Export Options

These file formats are assumed to have one record per line in which each record contains a fixed number of numeric data fields. The method of adding delimiters to the fields within each record is specified through the controls in the Data Export Options dialog. The Data Export Options dialog allows you to specify Comma, Tab, Space, or Semicolon as the character to use to delimit fields.

 

 

See Also

File Format Chart

File | Import

File | Save Data

Data Export Options

Data Import Options Dialog