Skip navigation

FlexPro Documentation 2025

unit

Read access to the unit of FlexPro data.

Syntax

Data.unit

The syntax of the unit property consists of the following elements:

Element

Description

Data

A flexpro.Data object whose unit is accessed.

Available In

FlexPro Professional, Developer Suite

Examples

flexpro.object(r’\DataSet').data.unit

Returns a string with the physical unit of the data of a data set in the root folder.

flexpro.object(r'\Signal’).data.x.unit

Returns a string with the physical unit of the data of the X component of a signal in the root folder.

 

See Also

value Property

unit_y Property

unit_z Property