DADiSP Worksheet Functions > Function Categories > Data Input/Output Functions > WRITEHED

 

WRITEHED

Purpose:

Creates a header file based upon user input.

Syntax:

WRITEHED("filename")

"filename"

-

A string. The path and file name for the desired header files.

Returns:

An ASCII header file.

Remarks:

WRITEHED.SPL contains a number of functions to support the automatic import header file creation capabilities.

 

DOSINGLE and DOMULTI are the main calling functions to create a header file for Single and Multi-channel data files.

 

Note: these functions only create a header file. This file must be loaded in the Import Utilities dialog box, or specified in a call to the IMPORTFILE function. The header file is an ASCII text file which can be edited in any text editor.

 

WRITE_HEADER relies on global variables to output the header information to the specified header file. These variables are set in the menus called by DOSINGLE and DOMULTI.

 

WRITE_HEADER is not intended for stand-alone use.

See Also:

DOMULTI

DOSINGLE