DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to sort a channel and move the values in other two channels accordingly?

Solved!
Go to solution

Hello All,

I have three channels X,Y and Z. I am looking for a way to sort channel X and accordingly move the values in Y and Z channels.

I have tried  ChnMultipleSortExt but it just does it for 2 channels.

Any help is appreciated!

 

Thanks in Advance.

0 Kudos
Message 1 of 3
(2,748 Views)
Solution
Accepted by topic author Kandukuri_raghavendra

Hello Kandukuri_raghavendra,

 

Which DIAdem version do you use?

At least since DIAdem 2015 we support your request. Here is an example.

dim oChnX, oChnYZs 

set oChnX   = Data.Root.ChannelGroups(1).Channels(1)
set oChnYZs = Data.GetChannels("[1]/*")
oChnYZs.Remove(1) ' remove first channel which is the source channel

Call ChnMultipleSortExt(oChnX, oChnYZs, "Up", "UpperCase", 0)

 Greetings

Walter

Message 2 of 3
(2,603 Views)

Thank you @Walter

0 Kudos
Message 3 of 3
(2,485 Views)