DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I search a group and return the number of channels within that group?

How can I search a group and return the number of channels within that group?

I need to search a group and find out the number of channels within that group is there a command for this?
BBANACKI
0 Kudos
Message 1 of 3
(3,369 Views)
Hello BBANACKI!
 
There is the variable 'GroupChnCount'. A vector with the groupindex as index. See the help for details.
 
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 3
(3,363 Views)

Hello BBANACKI,

check out:

Dim nGroup : nGroup = GroupIndexGet("EXAMPLE")
If (nGroup > 0) Then
  Call MsgBox(GroupChnCount(nGroup))
End If

Christian

0 Kudos
Message 3 of 3
(3,361 Views)