Read access to the value of FlexPro data.
Syntax
Data.value
The syntax of the value property consists of the following elements:
Part |
Description |
---|---|
Data |
A flexpro.Data object whose value is accessed. |
Remarks
The data is completely converted into equivalent Python or NumPy data types. Any existing physical unit and attached header information will be lost.
Note FlexPro data that contains a list or a composite data structure is also fully converted. If you only want to access a single list element or component, you should therefore select the element before using the value property, e.g. flexpro.object(r'\List').data[0]. value or flexpro.object(r'\Signal').data. y. value.
Availability
FlexPro Professional, Developer Suite
Examples
flexpro.object(r’\DataSet').data.value |
Returns the value of the data in a data set. |
flexpro.object(r'\List').data[0].value |
Returns the value of the first element of a list. |
flexpro.object(r’\Signal').data.y.value |
Returns the value of the Y component of a signal as a NumPy array. |