DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

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])
ObjectComplexChannel <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:

VBScriptPython

 

Dim oMyComplexChannel
Set oMyComplexChannel = Data.Root.ActiveChannelGroup.Channels(1)
Call oMyComplexChannel.RemoveValues(3, 4)
In This Section
Was this information helpful?