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

in 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

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