From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Set group on DIADEM

Hi, 

 

I am trying to assign channel contents into variable using 

Set Group = Data.Root.ActiveChannelGroup

 And I get a error message saying 'Variable is undefined' . 

Can anyone help me with this? 

0 Kudos
Message 1 of 2
(2,267 Views)

If

option explicit

is used in an VBS script you need to define the variable.

dim Group
Set Group = Data.Root.ActiveChannelGroup
0 Kudos
Message 2 of 2
(2,228 Views)