iblrig.video_pyspin.get_enumeration_pointer

iblrig.video_pyspin.get_enumeration_pointer(camera, node_name)[source]

Retrieve a pointer to an enumeration node from the camera’s node map.

Parameters:
  • camera (PySpin.CameraPtr) – The camera pointer from which to retrieve the enumeration node.

  • node_name (str) – The name of the enumeration node to retrieve.

Returns:

Pointer to the enumeration node corresponding to the specified node name.

Return type:

PySpin.CEnumerationPtr

Raises:

AssertionError – If the pointer is not valid for the specified camera.

Parameters:
  • camera (PySpin.CameraPtr)

  • node_name (str)