PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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: wd260vm.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment