readAggregateValue
// es5 session.readAggregateValue( {nodeId: "ns=5;s=Simulation Examples.Functions.Sine1" }, new Date("2015-06-10T09:00:00.000Z"), new Date("2015-06-10T09:01:00.000Z"), AggregateFunction.Average, 3600000, (err,dataValues) => { });
// es6 const dataValues = await session.readAggregateValue( { nodeId: "ns=5;s=Simulation Examples.Functions.Sine1" }, new Date("2015-06-10T09:00:00.000Z"), new Date("2015-06-10T09:01:00.000Z"), AggregateFunction.Average, 3600000);
the start time in UTC format
the end time in UTC format
in milliseconds
Generated using TypeDoc
readAggregateValue