Float

class itala.itala.IFloat(*args, **kwargs)

Bases: IValue

Interface for float properties

property display_notation: GENAPI_NAMESPACE::EDisplayNotation

Get the way the float should be converted to a string

property display_precision: int

Get the precision to be used when converting the float to a string

property enum_alias: GENAPI_NAMESPACE::IEnumeration *

gets the interface of an enum alias node.

get_value(verify=False, ignore_cache=False)
has_inc() bool

True if the float has a constant increment

impose_max(Value: double) None

Restric maximum value

impose_min(Value: double) None

Restric minimum value

property inc: double

Get the constant increment if there is any

property inc_mode: GENAPI_NAMESPACE::EIncMode
property int_alias: GENAPI_NAMESPACE::IInteger *

gets the interface of an integer alias node.

property list_of_valid_values: double_autovector_t

Get list of valid value

property max: double

Get maximum value allowed

property min: double

Get minimum value allowed

property representation: GENAPI_NAMESPACE::ERepresentation

Get recommended representation

set_value(value, verify=True)
property thisown

The membership flag

property unit: str

Get the physical unit name

property value