PySpin.ValueNode

class ValueNode(*args, **kwargs)

Interface for value properties.

FromString(self, ValueStr, Verify=True)

Parameters

ValueStr: Spinnaker::GenICam::gcstring const & Verify: bool

Spinnaker::GenApi::ValueNode::FromString Set content of the node as string

param ValueStr:

The value to set

param Verify:

Enables AccessMode and Range verification (default = true)

GetNode(self) INode

Spinnaker::GenApi::ValueNode::GetNode

IsValueCacheValid(self) bool

Spinnaker::GenApi::ValueNode::IsValueCacheValid Checks if the value comes from cache or is requested from another node

IsValueUpdated(self) bool

Spinnaker::GenApi::ValueNode::IsValueUpdated Checks if the value has changed since the last GetValue(). Returns true if GetValue() is unavailable.

true if the node value has changed, false otherwise.

SetReference(self, pBase)

Parameters

pBase: Spinnaker::GenApi::INode *

Spinnaker::GenApi::ValueNode::SetReference overload SetReference for Value

ToString(self, Verify=False, IgnoreCache=False) gcstring

Parameters

Verify: bool IgnoreCache: bool

Spinnaker::GenApi::ValueNode::ToString Get content of the node as string

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