MeasurementData.getDataInt Method¶
Module: MeasurementData
Definition¶
Retrieves an integer measurement value by its name
This method is essential for accessing stored integer metrics for analysis or display.
get_data_int(self, data_name: str) -> int
Parameters
data_namestrin The name of the measurement whose integer value is to be retrieved.
Returns
intOutputs the integer measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
int getDataInt(String? dataName)
Parameters
dataNameStringin The name of the measurement whose integer value is to be retrieved.
Returns
intOutputs the integer measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
public int GetDataInt(string dataName)
Parameters
dataNamestringin The name of the measurement whose integer value is to be retrieved.
Returns
intOutputs the integer measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
public int getDataInt(String dataName) throws DevicesException
Parameters
dataNameStringin The name of the measurement whose integer value is to be retrieved.
Returns
intOutputs the integer measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesMeasurementData_GetDataInt (
    ID3_DEVICES_MEASUREMENT_DATA hMeasurementData,
    const char * dataName,
    int * value)
Parameters
hMeasurementDataID3_DEVICES_MEASUREMENT_DATAin Handle to the MeasurementData object.dataNameconst char *in The name of the measurement whose integer value is to be retrieved.valueint *out Outputs the integer measurement value associated with the specified measurement name.
Returns