MeasurementData.setDataInt Method

Module: MeasurementData

Definition

(C++) Stores an integer measurement value associated with a specified measurement name

This method allows for the precise tracking of integer-based metrics.

int id3DevicesMeasurementData_SetDataInt (
    ID3_DEVICES_MEASUREMENT_DATA hMeasurementData,
    const char * dataName,
    int value)

Parameters

in Handle to the MeasurementData object.

dataName const char *
in The name of the measurement to which the integer value belongs.

value int
in The integer measurement value to be stored.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.