08-29-2016 02:28 PM
Hello,
Is there an easy way of indexing a channel subsection? I am looking for the Matlab equivalent of
A = 1:10; A(5:end)
ans =
5 6 7 8 9 10
I know I can use DataBlCopy to create a temp channel but that seams unnecessarally complicated.
Thanks,
Denis
Solved! Go to Solution.
08-29-2016 03:26 PM - edited 08-29-2016 03:26 PM
*seems unnecessarily
(why is there no edit for the original post)
08-30-2016 03:46 AM
Since DIAdem 2015 the channel object has a method GetValuesBlock
dim A : A = data.Root.ChannelGroups(1).Channels(1).GetValuesBlock(10,20,eValueBlockVbArray)
which allows an easy extraction of an VBS Array from an existing channel.
P.S.: The post can be edited for half an hour. Afterwards it is write protected to make sure the answers refere to the given post.