morefigs / pymba

Python wrapper for Allied Vision's Vimba C API
MIT License
105 stars 84 forks source link

python 2 camera setting upload #133

Open rwreynol opened 3 years ago

rwreynol commented 3 years ago

I do not see a method for uploading a settings file in the python 2 branch. I need to use python 2 so switching to 3 is not an option. Is there a method for uploading an XML settings file that I overlooked in the python2 branch.

morefigs commented 3 years ago

No, there doesn't appear to be. Happy to accept PRs though :)

rwreynol commented 3 years ago

I would appreciate the ability to load an XML file greatly. I gave it a shot yesterday with no success. I tried using your Python3 code as a template.

Randall

On Mon, Nov 2, 2020 at 4:43 PM morefigs notifications@github.com wrote:

No, there doesn't appear to be. Happy to accept PRs though :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/morefigs/pymba/issues/133#issuecomment-720741134, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAOW6KHBZB6YRG4F5RRX7DSN4RXDANCNFSM4TH4HRUA .

rwreynol commented 3 years ago

Hello,

I don't know if you have added the settings upload for python2, but I have added a function to the vimba_camera object to upload XML settings files if you are interested. I can send you the changes.

Randall

On Tue, Nov 3, 2020 at 7:40 AM Randall Reynolds < randall.weylin.reynolds@gmail.com> wrote:

I would appreciate the ability to load an XML file greatly. I gave it a shot yesterday with no success. I tried using your Python3 code as a template.

Randall

On Mon, Nov 2, 2020 at 4:43 PM morefigs notifications@github.com wrote:

No, there doesn't appear to be. Happy to accept PRs though :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/morefigs/pymba/issues/133#issuecomment-720741134, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAOW6KHBZB6YRG4F5RRX7DSN4RXDANCNFSM4TH4HRUA .

morefigs commented 3 years ago

Sure, thanks, feel free to add a pull request.

Obdormition commented 1 year ago

Hi @rwreynol
I would be interested in your function to load XML settings as well!