Description
Computes the data given a single Time array and return just the indicated data elements. If time values without data are requested, null entries will be returned in the data array. SingleTime uses DateFormat Dimension.
Syntax
Parameters
See Also
Example
Execute a time dependent data provider and returning the specified elements at the specified time
[C#] |
---|
Array times = new object[]
{
"1 Jan 2012 12:00:00.000", "1 Jan 2012 12:00:20.000",
"1 Jan 2012 12:00:40.000"
};
Array elems = new object[]
{
"Time",
"Precision Pass Number"
};
IAgDataPrvTimeVar dp = satellite.DataProviders["Precision Passes"] as IAgDataPrvTimeVar;
// ExecSingleElementsArray expects each safe array parameter to be one dimensional,
// all arrays must have the same length
IAgDrTimeArrayElements resInfo = dp.ExecSingleElementsArray(ref times, ref elems);
|
|
Execute a time dependent data provider and returning the specified elements at the specified time
[Visual Basic .NET] |
---|
Dim times As Array = New Object() {"1 Jan 2012 12:00:00.000", "1 Jan 2012 12:00:20.000", "1 Jan 2012 12:00:40.000"}
Dim elems As Array = New Object() {"Time", "Precision Pass Number"}
Dim dp As IAgDataPrvTimeVar = TryCast(satellite.DataProviders("Precision Passes"), IAgDataPrvTimeVar)
' ExecSingleElementsArray expects each safe array parameter to be one dimensional,
' all arrays must have the same length
Dim resInfo As IAgDrTimeArrayElements = dp.ExecSingleElementsArray(times, elems)
|
|