Welcome Guest from United States
Sign In Change Country
  0 Items
Search:
GRAMS Instrument: ASCII with header

ASCII with header
Software: None, users must create files in this format themselves
Instrument: General
Computer System: N/A
Export Allowed: Yes, single file only
Converter Name: ACSII
File Extension: *.ASP
Supported By: GRAMS/AI, Spectral ID
The ASCII converter uses only ASCII text floating point numbers. Thus, 15.0 is represented as "15.0" or "1.5E+1" or "15." Each number must end with a delimiter which may be a comma, blank, carriage return, line feed, or form feed. Multiple delimiters are allowed between numbers. An optional 80-character comment line is available. Comments must be placed immediately after the resolution value and before the first Y value, and they must be preceded by an apostrophe. The comment string is not supported on export. The number of points must be an integer to avoid a rounding error. The Control-Z end of file marker is NOT required. This format is easy to set up from Array Basic and almost any other programming language. ASCII data files should have a .ASP file name extension. They are set up as follows:

Type                               Meaning

Text Number (Integer)     Number of Y values
Text Number                   First point's X value
Text Number                   Last point's X value
Text Number                   Type of X values - see Appendix A
Text Number                   Type of Y values - see Appendix A
Text Number                   Resolution of data
Text (or Text Number)      Comment line (optional)
Text Number                   First Y value
Text Number                   Second Y value
    ...
Text Number                   Last Y value

The first six values may all be set to zero during import, but must be present in the file even if they are unused. The ASCII converter uses the actual number of data points found in the file if the first value is zero.