PySpin.FloatNode

class FloatNode(*args, **kwargs)

Interface for string properties.

GetDisplayNotation(self) Spinnaker::GenApi::EDisplayNotation

Spinnaker::GenApi::FloatNode::GetDisplayNotation Get the way the float should be converted to a string

GetDisplayPrecision(self) int64_t

Spinnaker::GenApi::FloatNode::GetDisplayPrecision Get the precision to be used when converting the float to a string

GetEnumAlias(self) IEnumeration

Spinnaker::GenApi::FloatNode::GetEnumAlias gets the interface of an alias node.

GetInc(self) double

Spinnaker::GenApi::FloatNode::GetInc Get the constant increment if there is any

GetIncMode(self) Spinnaker::GenApi::EIncMode

Spinnaker::GenApi::FloatNode::GetIncMode Get increment mode

GetIntAlias(self) IInteger

Spinnaker::GenApi::FloatNode::GetIntAlias gets the interface of an alias node.

GetListOfValidValues(self, bounded=True) double_autovector_t

Parameters

bounded: bool

Spinnaker::GenApi::FloatNode::GetListOfValidValues Get list of valid value

GetMax(self) double

Spinnaker::GenApi::FloatNode::GetMax Get maximum value allowed

GetMin(self) double

Spinnaker::GenApi::FloatNode::GetMin Get minimum value allowed

GetRepresentation(self) Spinnaker::GenApi::ERepresentation

Spinnaker::GenApi::FloatNode::GetRepresentation Get recommended representation

GetUnit(self) gcstring

Spinnaker::GenApi::FloatNode::GetUnit Get the physical unit name

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

Parameters

Verify: bool IgnoreCache: bool

Spinnaker::GenApi::FloatNode::GetValue 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

Spinnaker::GenApi::FloatNode::HasInc True if the float has a constant increment

ImposeMax(self, Value)

Parameters

Value: double

Spinnaker::GenApi::FloatNode::ImposeMax Restrict maximum value

ImposeMin(self, Value)

Parameters

Value: double

Spinnaker::GenApi::FloatNode::ImposeMin Restrict minimum value

IsValueUpdated(self) bool

Spinnaker::GenApi::FloatNode::IsValueUpdated 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 *

Spinnaker::GenApi::FloatNode::SetReference overload SetReference for Float

SetValue(self, Value, Verify=True)

Parameters

Value: double Verify: bool

Spinnaker::GenApi::FloatNode::SetValue Set node value

param Value:

The value to set

param Verify:

Enables AccessMode and Range verification (default = true)