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_name
strin The name of the measurement whose integer value is to be retrieved.
Returns
int
Outputs the integer measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
int getDataInt(String? dataName)
Parameters
dataName
Stringin The name of the measurement whose integer value is to be retrieved.
Returns
int
Outputs 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
dataName
stringin The name of the measurement whose integer value is to be retrieved.
Returns
int
Outputs 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
dataName
Stringin The name of the measurement whose integer value is to be retrieved.
Returns
int
Outputs 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
hMeasurementData
ID3_DEVICES_MEASUREMENT_DATAin Handle to the MeasurementData object.dataName
const char *in The name of the measurement whose integer value is to be retrieved.value
int *out Outputs the integer measurement value associated with the specified measurement name.
Returns