ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Telemetry functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
TelemetryAddMeasure (Function)
In french: TélémétrieAjouteMesure
Adds a measure for a value or time sensor.
This allows you to draw up statistics on the measurements of a value or time: total number, minimum, average, maximum, etc.
Example
// Un capteur de valeur "NombreProduit" a été défini sous l'éditeur
// A chaque validation d'une commande, le nombre de produits de la commande est ajouté
TelemetryAddMeasure(NombreProduit, TableauProduit.Occurrence)
Syntax
TelemetryAddMeasure(<Sensor> [, <Category value> [, <Value of measure>]])
<Sensor>: Character string
Name of the value sensor or time sensor defined in the editor.
<Category value>: Optional character string
Value for the category defined in the editor.
<Value of measure>: 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: wd300vm.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help