scChannelTreeRowToChannelList
scChannelTreeRowToChannelList returns a channel list from the channel tree
ChanList=scChannelTreeRowToChannelList(fhandle, rows)
fhandle is the handle of a sigTOOL data view
rows are the indices of the rows in the JTree
For the following tree:
FileName Row 0
[1] Chan #1 1
[2] Chan #2 2
[3] Chan #3 3
adc 4
tim 5
mrk 6
[32] Chan #32 7
[33] Chan #33 8
[34] Chan #34 9
scChannelTreeRowToChannelList(handle,[1:7,9] would return [1 2 3 32 34].
Note that row indices change on-the-fly depending on how the JTree has
been expanded. scChannelTreeRowToChannelList takes account of this.
-------------------------------------------------------------------------
Author: Malcolm Lidierth 08/07
Copyright © The Author & Kings College London 2007-
-------------------------------------------------------------------------