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 str
in 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 String
in 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 string
in 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 String
in 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

in 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

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