DIAdem Help

Method: Swap for BinaryDirectAccessChannels

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

Method: Swap for BinaryDirectAccessChannels

Moves a DirectAccess channel to a specific position.

Object.Swap(Index1, Index2)
ObjectBinaryDirectAccessChannels
Object with this method
Index1LongInteger
Specifies the position of the channel.
Index2LongInteger
Specifies the new position of the channel.

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


Call oBlock.Channels.Swap(oBlock.Channels.Item("YShift").Index, oBlock.Channels.Item("XShift").Index)

Log in to get a better experience