SensorData GetMemorySensorData(int64, string)
This method allows monitoring of the memory sensor data at the specified memory index.
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
memInd |
int64 The memory index at which to get the sensor data |
devName |
(Optional) string The name of the device. If not supplied, the first matching configured device of this type will be used. |
Return
An SensorData object that can be parsed as JSON.
Remarks
Examples
function getMemorySensorData() {
var memInd = parseInt(document.getElementById('memInd').value);
var sensorData = KioOmronEnviroSensor.GetMemorySensorData(memInd);
alert(JSON.stringify(sensorData, null, 2));
}
Requirements
KioWare for Windows version 8.16 or greater.