Method: RemoveValues for ComplexChannel <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Methods > Method: RemoveValues for ComplexChannel <Data>
Method: RemoveValues for ComplexChannel <Data>
Deletes the specified values from a complex channel. DIAdem moves up the subsequent values.
Object.RemoveValues([Index], [Count])
Object | ComplexChannel <Data> Object with this method |
[Index] | LongInteger Specifies the position of the first value to delete. The index starts at the value 1 (default value). |
[Count] | LongInteger Specifies the number of values to delete. The default value is the channel length minus the index plus 1. |
Starting at the third value, the following example deletes the next four values of a channel:
VBScript | Python |
Dim oMyComplexChannel Set oMyComplexChannel = Data.Root.ActiveChannelGroup.Channels(1) Call oMyComplexChannel.RemoveValues(3, 4)