DIAdem Help

Method: Swap for DirectCellChannels

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

Method: Swap for DirectCellChannels

Moves an DirectAccess channel to a specific position.

Object.Swap(DAChnIndex1, DAChnIndex2)
ObjectDirectCellChannels
Object with this method
DAChnIndex1LongInteger
Specifies the position of the DirectAccess channel.
DAChnIndex2LongInteger
Specifies the position of the DirectAccess channel.

The following example shows how you interchange the positions of the channels YShift and XShift:

Call oCellBlock.Channels.Swap(oCellBlock.Channels("YShift").Index, oCellBlock.Channels("XShift").Index)