Coder Social home page Coder Social logo

Comments (4)

TIS-Stefan avatar TIS-Stefan commented on July 23, 2024

Which camera model do you use?
Mayby Gain is not a long, but a float value, so you may pass 10.0?

from ic-imaging-control-samples.

zurxi avatar zurxi commented on July 23, 2024

I'm using the camera model DFKZ12G445. I tried testing with a float, and I got a wrong type error, so I don't think that fixes it. The workaround I'm using right now is the set the Gain to manual in the code, then go into IC Capture, set the gain manually, then run the code. The gain value is carried over that way, but the SetPropertyValue function doesn't seem to work with gain.

from ic-imaging-control-samples.

TIS-Stefan avatar TIS-Stefan commented on July 23, 2024

First of all, I am sorry, I thought, we are in Linux, but we are in Windows here.

The value 10 is out of Gain Range for integer values:

Gain
    Gain Range        Range                  200     1023      200
    Gain Range        Absolute Value           0    29,46        0

So minimum is 200.
Gain has two interfaces: The "Range" interface with integer values and the Absolute Values with float values in dB.

Please set your gain to 200 and try again.

Stefan

from ic-imaging-control-samples.

zurxi avatar zurxi commented on July 23, 2024

Hi, that worked! Thank you so much.

from ic-imaging-control-samples.

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.