DIAdem Help

Command: HdCreate

  • Updated2024-09-12
  • 2 minute(s) read

Display all  Hide all

Command: HdCreate

Generates external channel headers.

Call HdCreate()

Input Parameters

None

Example

The following example creates a header file with four channel headers that DIAdem can use to read the ASCII file MyFile.asc channelwise. The example deletes existing external channel properties. DIAdem saves the generated channel header properties in the MyFile.dat file.
 

VBScriptPython

 

Call HdDelAll() 
GHdChnNo = 4 
GHdChnLength = 6 
GHdChnType = "EXPLICIT" 
GHdDispFormat= "Numeric" 
GHdChnFile = "MyFile.asc" 
GHdSaveType = "CHANNEL" 
GHdChnIdx = 4 
GHdChnMode = "ASCII" 
GHdAsciiPtr = 1 
GHdDecChar = "." 
GHdExChar = "E" 
GHdSep = "," 
GHdOffs = 0 
Call HdCreate() 
Call HdMarkAll() 
Call HdSave("MyFile")

Related Topics

Command: ChnLinGenImp | Command: HdCopy | Command: HdDel | Command: HdDelAll | Command: HdLoad | Command: HdMarkAll | Command: HdSave