PySpin.StringNode

class StringNode(*args, **kwargs)

Interface for string properties.

GetMaxLength(self) int64_t

Spinnaker::GenApi::StringNode::GetMaxLength Retrieves the maximum length of the string in bytes

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

Parameters

Verify: bool IgnoreCache: bool

Spinnaker::GenApi::StringNode::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

IsValueUpdated(self) bool

Spinnaker::GenApi::StringNode::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::StringNode::SetReference overload SetReference for Value

SetValue(self, Value, Verify=True)

Parameters

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

Spinnaker::GenApi::StringNode::SetValue Set node value

param Value:

The value to set

param Verify:

Enables AccessMode and Range verification (default = true)