PySpin.FloatNode

class FloatNode(*args, **kwargs)

Interface for string properties.

GetDisplayNotation(self) Spinnaker::GenApi::EDisplayNotation

Get the way the float should be converted to a string

GetDisplayPrecision(self) int64_t

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

GetEnumAlias(self) IEnumeration

gets the interface of an alias node.

GetInc(self) double

Get the constant increment if there is any

GetIncMode(self) Spinnaker::GenApi::EIncMode

Get increment mode

GetIntAlias(self) IInteger

gets the interface of an alias node.

GetListOfValidValues(self, bounded=True) double_autovector_t

Parameters

bounded: bool

Get list of valid value

GetMax(self) double

Get maximum value allowed

GetMin(self) double

Get minimum value allowed

GetRepresentation(self) Spinnaker::GenApi::ERepresentation

Get recommended representation

GetUnit(self) gcstring

Get the physical unit name

GetValue(self, Verify=False, IgnoreCache=False) double

Parameters

Verify: bool IgnoreCache: bool

Get node value

param Verify:

Enables Range verification (default = false). The AccessMode is always checked

param IgnoreCache:

If true the value is read ignoring any caches (default = false)

The value read

HasInc(self) bool

True if the float has a constant increment

ImposeMax(self, Value)

Parameters

Value: double

Restrict maximum value

ImposeMin(self, Value)

Parameters

Value: double

Restrict minimum value

IsValueUpdated(self) bool

Checks if the content of the node has changed since the value was last cached by IsValueUpdated() or GetValue().

true if the node value has changed, false otherwise.

SetReference(self, pBase)

Parameters

pBase: Spinnaker::GenApi::INode *

overload SetReference for Float

SetValue(self, Value, Verify=True)

Parameters

Value: double Verify: bool

Set node value

param Value:

The value to set

param Verify:

Enables AccessMode and Range verification (default = true)