MeasurementData.getDataFloat Method¶
Module: MeasurementData
Definition¶
Retrieves a floating-point measurement value by its name
This method is crucial for accessing stored floating-point metrics, which are often used in precise or fractional measurements.
get_data_float(self, data_name: str) -> float
Parameters
data_name
strin The name of the measurement whose floating-point value is to be retrieved.
Returns
float
Outputs the floating-point measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
double getDataFloat(String? dataName)
Parameters
dataName
Stringin The name of the measurement whose floating-point value is to be retrieved.
Returns
double
Outputs the floating-point measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
public float GetDataFloat(string dataName)
Parameters
dataName
stringin The name of the measurement whose floating-point value is to be retrieved.
Returns
float
Outputs the floating-point measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
public float getDataFloat(String dataName) throws DevicesException
Parameters
dataName
Stringin The name of the measurement whose floating-point value is to be retrieved.
Returns
float
Outputs the floating-point measurement value associated with the specified measurement name.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesMeasurementData_GetDataFloat (
ID3_DEVICES_MEASUREMENT_DATA hMeasurementData,
const char * dataName,
float * value)
Parameters
hMeasurementData
ID3_DEVICES_MEASUREMENT_DATAin Handle to the MeasurementData object.dataName
const char *in The name of the measurement whose floating-point value is to be retrieved.value
float *out Outputs the floating-point measurement value associated with the specified measurement name.
Returns