Coder Social home page Coder Social logo

Comments (9)

flixr avatar flixr commented on September 26, 2024

The error code 0x8002 indeed means that a parameter was invalid (although not from GenCP).

Does gc_info work? What do you get for the packet size there?

from rc_genicam_api.

meuchel avatar meuchel commented on September 26, 2024

gc_info works.
GevSCPSPacketSize is 8164
Networkcard has MTU 8194
Also I must mention opening Mono8 stream works with gc_stream but not with Mono12 (2 bpp).
Unfortunately I need working Mono12.

from rc_genicam_api.

flixr avatar flixr commented on September 26, 2024

Mono12 conversion is currently not implemented in gc_stream, see

switch (format)

You could add that and make a pull request...
But this should be unrelated to the problem with packet size you reported.

from rc_genicam_api.

meuchel avatar meuchel commented on September 26, 2024

At the end I don't want to use gc_stream tool to grab images. I'm using this lib to create a ROS node.
I opened the ticket against gc_stream because it has exactly the same problem when opening the stream. When having a look into the lib there seems to be nothing special to open a stream.

void Stream::open()

Now is the question what to do to get it to work?
When I use e.g. ebus player or Aravis library it woks out of the box. (I don't want to use Aravis because I have other issues with it. Thats the reason why I try your lib).

from rc_genicam_api.

heikohimu avatar heikohimu commented on September 26, 2024

Can you test the Baumer SDK with your camera, i.e. bexplorer viewer, see https://www.baumer.com/us/en/product-overview/image-processing-identification/software/baumer-gapi-sdk/c/14174

If this works, we can look for an error in rc_genicam_api. If it does not, then we can ask Baumer or use you could use another GenTL library together with rc_genicam_api.

from rc_genicam_api.

flixr avatar flixr commented on September 26, 2024

I think there are two different issues here:

  1. stream open doesn't work on your device
  2. the gc_stream example tool doesn't support mono12

But I'm confused about the stream open problem, since you said that it worked with mono8. But that was with a different camera, right?

from rc_genicam_api.

meuchel avatar meuchel commented on September 26, 2024

It is the same camera as in the first post.

When configured with PixelFormat Mono8 "stream start" works and gc_stream stores an image.
When configured Mono12 "stream start" fails with the exception.
So we just talk about the bug in gc_stream that it cant start the stream with Mono12 (to store an image does not care to me in the moment).

Later I will try Baumer SDK as suggested by Heiko. But in the moment I have no acces to the camera and this may take some days in order to be able to do that test.

from rc_genicam_api.

flixr avatar flixr commented on September 26, 2024

@meuchel any updates here?

from rc_genicam_api.

meuchel avatar meuchel commented on September 26, 2024

sorry, I have no more access to this camera. So cant test with it. I think you can close this ticket.

from rc_genicam_api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.