DIAdem Help

Property: Properties for Root <DataPlugin>

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

Property: Properties for Root <DataPlugin>

Contains the Properties collection associated with a Root object.

Set oProperties = Object.Properties
ObjectRoot <DataPlugin>
Object with this property
oPropertiesProperties <DataPlugin>
Returned object

The following example checks all Root properties and creates the Sensor_Type property if this property does not exist.

Dim oMyProp, bFound
For Each oMyProp in Root.Properties
  If oMyProp.Name = "Sensor_Type" Then
    bfound = TRUE
  End If
Next
If not bFound Then
  Call Root.Properties.Add("Sensor_type","TC-N")
End If

Log in to get a better experience