[aravis] Re: Aravis + RaspberryPi + Gige Cam

  • From: ROCS Project <astro.rocs@xxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Mon, 18 Jan 2016 18:06:56 +0100

This looks strange that this message shows up at the second call and not at the first one. You should try again in a fresh environment. Sorry not to be more helpful...

Philippe

On 16/01/2016 01:04, Jemshid KK wrote:

​Hi,
I am using Python 2.7.6

Camera is able to fetch the first frame. Camera hangs when I attempt to fetch a second frame.

The camera I am using is VT-Nep1600-50gm

Camera is hanging at the line buffer = stream.pop_buffer() in the second call to it.

Thank you​


On Fri, Jan 8, 2016 at 11:46 PM, ROCS Project <astro.rocs@xxxxxxxxx <mailto:astro.rocs@xxxxxxxxx>> wrote:

    It seems to me this is related to your python environment. When I
    add the statement

    data = buffer.get_data()

    after

    buffer = stream.pop_buffer()

    in the arv-camera-test.py example, I do not get any error message.
    I use Python 2.7.9 on a Raspberry Pi 2 with Linux 4.1.15-v7+ #830.
    What is the version of Python you use?

    Regards,
    Philippe

    2016-01-08 17:54 GMT+01:00 Jemshid KK <kake@xxxxxxxxxxxxxxxx
    <mailto:kake@xxxxxxxxxxxxxxxx>>:

        Hi,
        I have installed Aravis and I can run arv-camera-test.py
        successfully.
        But when I try to fetch data from buffer by

        data = buffer.get_data()

        I am getting the error

        "Data access methods are unsupported. Use normal Python
        attributes instead".

        Can someone throw light on, what is the cause and how I can
        move forward.

        Thank you


        Jemshid KK|Applied Mathematician |www.CastaliaLabs.com |
        Tel:+91 7028 072 232 (Cell) | https://twitter.com/KakeJemshid




Other related posts: