PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
TelemetryAddMeasure (Function)
In french: TélémétrieAjouteMesure
Adds a measure for a value sensor or for a time sensor.
This allows you to get statistics about the measures for a value or for a time : total number, minimum number, average number, maximum number, ...
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Android Caution: the custom telemetry is not available in this version. It will be available in a forthcoming update.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Android Caution: the custom telemetry is not available in this version. It will be available in a forthcoming update.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Android Caution: the custom telemetry is not available in this version. It will be available in a forthcoming update.
Example
// A "NumberProducts" sensor was defined in the editor
// Whenever an order is validated, the number of products found in the order is added
TelemetryAddMeasure(NumberProducts, ProductTable..Occurrence)
Syntax
TelemetryAddMeasure(<Sensor> [, <Value>])
<Sensor>: Character string (with or without quotes)
Name of the value sensor or time sensor defined in the editor.
<Value>: Type corresponding to the sensor, optional
Value of measure.
Remarks
  • The sensors must be defined in a custom telemetry.
  • A WLanguage error occurs if the sensor is not a value sensor or a time sensor.
Component : wd250vm.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment