CalcData GetLatestCalculationData(string)
This method provides device-calculated data related to environmental conditions.
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
devName |
(Optional) string The name of the device. If not supplied, the first matching configured device of this type will be used. |
Return
A CalcData object that can be parsed as JSON.
Remarks
Examples
function getLatestCalcData() {
var calcData = KioOmronEnviroSensor.GetLatestCalculationData();
alert(JSON.stringify(calcData, null, 2));
}
Requirements
KioWare for Windows version 8.16 or greater.