Coder Social home page Coder Social logo

Comments (4)

heikohimu avatar heikohimu commented on September 26, 2024

You can only open a device, stream data and change parameters if network settings are correct. rc_genicam_api only works for properly configured devices. There are underlying mechanism in the GigE Vision protocol to discover and change network settings even for misconfigured devices. These mechanisms are not (yet) implemented in the rc_genicam_api.

For our rc_visard, there is the rcdiscover tool that can be used to change IP settings temporarily. Thereafter, changes can be made permanent by gc_config. Alternatively, the Baumer SDK (BGAPI) offers a tool called ipconfig to change IP settings. Both ways work even if the network settings of the device are misconfigured.

from rc_genicam_api.

flixr avatar flixr commented on September 26, 2024

Hi @smissan,

As Heiko mentioned, rc_genicam_api currently doesn't have the capability to set a temporary IP address (FORCE_IP command), as this is not handled by the GenTL layer (Baumer in case of the bundled one).

Could you please clarify what exactly you tried and under which OS?
Also note that when using the Baumer GenTL under Linux you will probably not find the device if it is not reachable (e.g. different subnet), although you will find it with rcdiscover. This is currently still a limitation in the Linux version of the Baumer GenTL.
In any case, to actually open the device it will need to be reachable (e.g. after setting a valid temporary IP).

from rc_genicam_api.

smissan avatar smissan commented on September 26, 2024

Hi Heiko, Felix,

thank you for your help. We will use rcdiscover approach - we did not realize that GenTL cannot handle/force devices with misconfigured IPs (I since checked the spec). Seems like a big gap in GenTL spec as these situations happen quite often. BTW Baumer .ctl does have functions for forcing the IP, but I guess they are private and definitely not a part of GenTL spec.

thanks again.

from rc_genicam_api.

flixr avatar flixr commented on September 26, 2024

Ok, closing this issue.

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.