Command: HdCopy
- Updated2024-09-12
- 2 minute(s) read
Command: HdCopy
Command: HdCopy
Copies a channel header from one channel to another channel.
Input Parameters
![]() |
Uses the channel name or the channel number to specify a channel. |
![]() |
Uses the channel name or the channel number to specify a target channel. |
Example
The following example reads the data of the Test.asc file. DIAdem then generates a channel header and copies the channel header. The copied channel header also contains a factor and an offset.
VBScript | Python |
GHdChnNo = 1 GHdChnLength = 20 GHdChnType = "EXPLICIT" GHdDispFormat= "Numeric" GHdChnFile = "Test.asc" GHdSaveType = "CHANNEL" GHdChnIdx = 4 GHdChnMode = "ASCII" GHdAsciiPtr = 1 GHdDecChar = "." GHdExChar = "E" GHdSep = "," GHdOffs = 0 Call HdCreate() Call HdCopy("[1]/[1]","[1]/[2]") FileChnStep(2)= 5 FileChnBeginVal(2)= 50 Call HdMarkAll() Call HdSave("Test")
Related Topics
Command: ChnLinGenImp | Command: HdCreate | Command: HdDel | Command: HdDelAll | Command: HdLoad | Command: HdMarkAll | Command: HdSave