DIAdem Help

Command: DataAreaAppend

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

Display all  Hide all

Command: DataAreaAppend

Copies a data block from channels and appends the data block to other channels.

Call DataAreaAppend(ChnArg1, ChnRow, ValNo, ChnArg2, TargetChn)

Input Parameters

ChnArg1 Specifies a channel.
ChnRow Specifies the row number in a channel.
ValNo Specifies the number of values in a channel.
ChnArg2 Specifies a further channel.
TargetChn Specifies the target channel.

The ChnArg1 channel specifies the first channel of a block. The ChnArg2 channel specifies the last channel of a block.

Note

The DataBlAppend command replaces the DataAreaAppend command.

The channels used are in the same order as the channel numbers. This order is not always the same as the order of the channels in the Data Portal.

If the target channels are not the same length, DIAdem adds the data block, starting at the row number of the longest channel. In the process the shorter channels have gaps which DIAdem fills with 0.

You cannot perform block operations on text channels.

Examples

The following example copies 10 rows of the channels Group1/Channel1 to Group1/Channel4, starting at the third row. The example appends these data blocks to the Group2/Channel1 channel and to the following channels.

VBScriptPython

 

Call DataAreaAppend("Group1/Channel1",3,10,"Group1/Channel4","Group2/Channel1")

Related Topics

Command: DataAreaCopy | Command: DataAreaDel | Command: DataAreaInsert0 | Command: DataAreaInsert | Command: DataAreaInsertV | Command: DataBlAppend | Command: DataBlClpCopy | Command: DataBlClpPaste | Command: DataBlCopy | Command: DataBlDel | Command: DataBlInsert | Command: DataBlInsertVal