DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Perform Distinct on channel

Hi,

 

Let say i have this channel values : 1111111111111111222222222222333333331213212321144445

 

i want to preform a distinct operation and get this channel: 12345

 

how i do that?

 

can i get the same effect on Text channel? (on,on,on,on,off,off,off,on,on,on  >>>> new channel: on,off)?

 

Thanks

0 Kudos
Message 1 of 2
(4,505 Views)

Hi OzShimon,

 

You need a script in which the VBS dictionary is used to do that. Attached you find this as example. The script function "CreateUniqueItemsAndIndex" of this example has three parameters:

 

a) the source channel (which can have the types numeric or text)

b) the index channel in which the position of a unique content is stored. The index channel refers to c)

c) the unique content which is extracted out of a)

 

Greetings

Walter

0 Kudos
Message 2 of 2
(4,501 Views)