DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access to the property CANBusNumber and CANDBName of a channel group

Hello,

 

I'm working with Diadem 2015.

I have converted a BLF file into tdm. I have some channel groups that correspond to my multiplexer mode.

I would like to access to the properties CANBusNumber and CANDBName with a script. What is the syntax to access to this properties? A syntax like Data.Root.ChannelGroups(1).Properties("CANBusNumber").Value does not seem to exist ?

 

Kind regards,

 

Xavier

0 Kudos
Message 1 of 3
(2,855 Views)

Hello Xavier,

just show the property in the DataPortal. Then Drag & Drop the property to a script. When you drop, DIAdem will generate the script snippet required to access the property.

Hope that helps

 

 

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

Hello Andreas,

 

Yes it works perfect. Thanks for your help.

 

Regards,

 

Xavier

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