How to use GetSelectingFeatures() in python Spinnaker SDK (PySpin)?
AnsweredI'm trying to access the selecting features of a node in PySpin, to replicate the ccf behaviour that exists in Dalsa's library Sapera.
However, I'm unable to use the GetSelectingFeatures(arg2) method on a node, because the FeaturesList_t is not exposed in python, yet PySpin still requires me to input it as an argument.
Below is my code:
node_map: PySpin.INodeMap = self._internal_device.GetNodeMap()
nodes: list[PySpin.INode] = node_map.GetNodes()
node = node_map.GetNode("AcquisitionFrameRate")
sel_feat = node.GetSelectingFeatures() # This line throws a missing argument error
How would I solve this?
-
Hello Michael,
Thank you for your patience and thank you for bringing this up. This is indeed a problem with the Spinnaker Python API. Our software team will look into this and we will let you know when this is fixed.
Best regards,
Manuel
0 -
Hello Michael,
This issue has been fixed and is currently being tested. It should be part of the next Spinnaker 4.3 release.
Best regards,Manuel
1
Please sign in to leave a comment.
Comments
2 comments