Coder Social home page Coder Social logo

Comments (7)

MarkRivers avatar MarkRivers commented on May 29, 2024

I have seen the same behavior. It appears the Multiple mode has a minimum of 2 images. If you want just 1 then use Single mode.

from adspinnaker.

MarkRivers avatar MarkRivers commented on May 29, 2024

This is a feature of the camera firmware , not the EPICS software.

from adspinnaker.

ronpandolfi avatar ronpandolfi commented on May 29, 2024

The issue we're encountering is actually not limited to Multiple mode. Even in Single mode, the following returns an unexpected result:

$ caput 13SP1:cam1:ImageMode 0
Old : 13SP1:cam1:ImageMode           Multiple
New : 13SP1:cam1:ImageMode           Single
$ caput 13SP1:cam1:NumImages 1
Old : 13SP1:cam1:NumImages           1
New : 13SP1:cam1:NumImages           1
$ caget 13SP1:cam1:NumImages_RBV
13SP1:cam1:NumImages_RBV       2

The returned value is always at least 2.

from adspinnaker.

MarkRivers avatar MarkRivers commented on May 29, 2024

The returned value is always at least 2.

Yes, because that GenICam feature for NumImages only applies in Multiple mode. So it is never allowed to be less than 2.

from adspinnaker.

ronpandolfi avatar ronpandolfi commented on May 29, 2024

I see. So this behavior is unique to the design of this driver, and not consistent with other AD devices? A side-effect of this is that I'm unable to acquire a single image through Bluesky. Whenever requesting one image frame, I end up with 2. How could this behavior be corrected?

from adspinnaker.

MarkRivers avatar MarkRivers commented on May 29, 2024

Bluesky should be using Singl mode when it want to acquire a single image. There are many SDKs for which that is simpler and more efficient than Multiple mode with NumImages=1.

We could also change ADGenICam so that if NumImages=1 it changes to Single mode. But then when NumImages is changed to >1 should it automatically go to Multiple mode? What if the user does not want that?

from adspinnaker.

MarkRivers avatar MarkRivers commented on May 29, 2024

It is not really unique to the design of this driver. The GenICam feature is AcquisitionFrameCount, which GenICam says must be >=1. But FLIR seems to limit it to be >=2, so it is a function of their firmware design.

from adspinnaker.

Related Issues (10)

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.