PySpin.CFeatureBag

class CFeatureBag

Bag holding streamable features of a nodetree.

GetFeatureBagHandle(self) void *
LoadFromBag(self, pNodeMap, Verify=True, pErrorList=None) bool

Parameters

pNodeMap: Spinnaker::GenApi::INodeMap * Verify: bool pErrorList: Spinnaker::GenICam::gcstring_vector *

Loads the features from the bag to the node tree

param pNodeMap:

The node map

param Verify:

If true, all streamable features are read back

param pErrorList:

If an error occurs during loading the error message is stored in the list and the loading continues For Verify=true the list of names in the feature bag is replayed

again. If a node is a selector it’s value is set to the value from the feature bag If not the value is read from the camera and compared with the value from the feature bag.

PersistFeature(self, item)

Parameters

item: Spinnaker::GenApi::IValue &

Stores a feature

SetInfo(self, Info)

Parameters

Info: Spinnaker::GenICam::gcstring &

sets information about the node map

StoreToBag(self, pNodeMap, MaxNumPersistSkriptEntries=-1) int64_t

Parameters

pNodeMap: Spinnaker::GenApi::INodeMap * MaxNumPersistSkriptEntries: int const

Stores the streamable nodes to this feature bag.

param pNodeMap:

The node map to persist

param MaxNumPersistSkriptEntries:

The max number of entries in the container; -1 means unlimited

number of entries in the bag