AccelStatus GetLatestAccelerationStatus (string)

This method allows monitoring of the acceleration pertaining to vibration. This can be the used for device vibration and also for monitoring the vibration of structures.

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

An AccelStatus object that can be parsed as JSON.

Remarks

Examples


function getLatestAccelStatus() {
	var accelData = KioOmronEnviroSensor.GetLatestAccelerationStatus();
	alert(JSON.stringify(accelData, null, 2));
}
	

Requirements

KioWare for Windows version 8.16 or greater.