DIAdem Help

Object: Reference

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

Object: Reference

The Reference object provides a reference of an Element object in a data store.

The following example displays the names of the first element of all references of the first measurement quantity:

VBScriptPython

 

Dim oMyDataStore, oMyRootElement, oMyTest, oMyMeasurement, Reference
Call Navigator.Display.OpenDataStore("ASAM Browse Settings Example")
Set oMyDataStore = Navigator.Display.CurrDataStore.GetDataStore()
Set oMyRootElement = oMyDataStore.RootElements(1)
Set oMyTest = oMyRootElement.Children(1)
Set oMyMeasurement = oMyTest.Children(1)
For Each Reference in oMyMeasurement.References
  Call MsgBoxDisp("References: " & Reference.Elements(1).Name)
Next

Properties

BaseName | Elements | Name

Returned From

References.Item