[aravis] Re: Aravis + RaspberryPi + Gige Cam

  • From: Jemshid KK <kake@xxxxxxxxxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Sat, 16 Jan 2016 05:34:43 +0530

​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> 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>:

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: