From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

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,693 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,671 Views)

Hello Andreas,

 

Yes it works perfect. Thanks for your help.

 

Regards,

 

Xavier

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