ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem Help

Property: Name for Element <DataPlugin>

  • Updated2024-09-12
  • 1 minute(s) read

Property: Name for Element <DataPlugin>

Receives the name of an Element object.

Object.Name
ObjectElement <DataPlugin>
Object with this property
Object.NameString with read and write access

The following example checks all the elements that are associated with the Store object. If an element is type ChannelGroup, the example creates a Root property containing the name of the element.

For j = 1 to FromStore.Children.Count
  If FromStore.Children.Item(j).IsKindOf(eStoreChannelGroup) Then
    Call Root.Properties.Add("Composite"& right("0"&j,2), FromStore.Children.Item(j).Name)
  End If
Next