GetOEMLayer
(VTScada Layer module. Obtain LayerRoot using the following script-only statement: )
LayerRoot = \System.GetLoadedAppInstance(GetGUID(0, \LocalGUID));
| Description: |
Retrieves the layer root module of the OEM layer (should one exist) of the layer this is called against. |
| Returns: |
A pointer (within the parameter) |
Usage:  |
Script Only. |
| Function Groups: |
Configuration Management |
| Related to: |
GetWCPath | |
Format:  |
LayerRoot\GetOEMLayer(&OEMLayerPtr) |
| Parameters: |
|
| OEMLayerPtr |
| Required. A variable, into which a pointer to the OEM layer's root module will be placed. |
| Comments: |
The return value of the function will be set to Invalid upon completion. A pointer to the OEM layer's module will be returned in the first parameter to this function. |
Examples:
If 1 NextState;
[
LayerRoot = System.GetLoadedAppInstance(GetGUID(0, \LocalGUID));
LayerRoot\GetOEMLayer(&ParentLayer);
...
]
Trihedral and VTScada are registered trade marks of Trihedral Engineering Limited
© Trihedral Engineering Limited 1987- 2025 All rights reserved.