Description
Computes the data and returns just the indicated data elements; fixed data providers do not require arguments.
Syntax
[Visual Basic .NET] |
---|
Public Function ExecElements( _
ByVal ElementNames As System.Array _
) As
|
Parameters
See Also
Example
[Visual Basic .NET] |
---|
Dim ElemNames() As String = {"Start Time", "Stop Time"} ADR = app.Children("Scenario1").Children("Satellite1").DataProviders("Cartesian Position").ExecElements(ElemNames)
|
|
Execute a non time dependent data provider (for instance facility position) and request only the specified elements
[C#] |
---|
Array elems = new object[]
{
"x", "z"
};
IAgDataPrvFixed dpInfo = facility.DataProviders["Cartesian Position"] as IAgDataPrvFixed;
// ExecElements expects a one dimensional array of element names
IAgDrResult resInfo = dpInfo.ExecElements(ref elems);
|
|
Execute a non time dependent data provider (for instance facility position) and request only the specified elements
[Visual Basic .NET] |
---|
Dim elems As Array = New Object() {"x", "z"}
Dim dpInfo As IAgDataPrvFixed = TryCast(facility.DataProviders("Cartesian Position"), IAgDataPrvFixed)
' ExecElements expects a one dimensional array of element names
Dim resInfo As IAgDrResult = dpInfo.ExecElements(elems)
|
|