Skip to main content

Blackfly Camera Error Writing To Registers After Initialization

Comments

1 comment

  • TDY_Ifeanyi
    Community team
    Great answers
    Expert (Gold)

    Hello Neil,

    I do not see anything wrong with this code except that camera resources are not managed very well. The section to delete camera object, clear camera list and release system instance are missing:

    # delete camera object
    del cam

    # Clear camera list before releasing system
    camList.Clear()

    # Release system instance
    system.ReleaseInstance()

    Omitting these sections may lead camera to enter bad state after mulitple run. I would include this code section and power cycle camera.

    Note: It should also work fine with "enumNodePtr.GetEntryByName(entry_name)" instead of "PySpin.CEnumEntryPtr(enumNodePtr.GetEntryByName(entry_name))"

    For further related question, please reference projects in "Examples" folder part of spinnaker python package. 

    I hope the provided information answered your question.

    Thanks,
    Ifeanyi

    0

Please sign in to leave a comment.

Powered by Zendesk