file dac read

Allows you to import DAC files.
nCode International created the DAC file format. This DAC format supports single-parameter (time series), two-parameter (x-y), and three-parameter (histogram) files. Adams Durability supports the time series format. With this DAC format, you can input data from durability test machines and output data to nSoft and other DAC-compatible programs. This topic contains an overview of the DAC format. For a detailed description of the DAC format, see the nSoft data File Formats document from nCode International.
DAC files are binary, sequential, and fixed-length with 512-byte records. The data represents a fixed sample rate or time step. Real numbers are single-precision (4-byte) values. Each file has header, data, and footer regions. Adams Durability supports both old (pre version 5.0) and new (version 5.0+) DAC formats with a single channel of time series data.
In general, DAC files are not portable from platform to platform. For example, files created by Adams Durability on a Windows platform are not readable by Adams Durability or other programs on Linux platforms. nCode provides an nSoft utility to convert DAC files from one platform to another. However, this utility does not have a specification for the Linux platform. When using Adams Durability or Adams View on a Linux platform, use DAC files that have been converted to Windows or INTEL (Windows DAC files are compatible with Linux). Note that Linux-generated DAC files can be processed on Windows and vice versa.

Format:

 
file dac read
file_name =
file_name
dac_object_name =
dac_file_object_name

Description:

 
Parameter
Value Type
Description
File_name
String
Specifies the name of the file that is to be read, written, or executed.
dac_object_name
Dac_file_object_name
Specifies the name of the dac_file object that will contain the data from the file. Default is the file name.

Extended Definition:

The proper extension in the file_name parameter is the default, but you can override it by supplying a different extension.
It is not necessary to enclose the file name in quotes if it only contains alphanumeric characters and starts with a letter. If you want to include other characters, such as a '.' for an extension or '/' or '[]' for directory paths, you must enclose the file name in quotes.