Giter Site home page Giter Site logo

Comments (2)

HighImp avatar HighImp commented on July 22, 2024

Hi,
Just a guess, but like you said, the camera can still exposure or transmitt Image n, while Trigger n from plc is processed by the PC, and read the last complete Image from Buffer, which is Image n-1.

May you can wait in your plc for one frame period after the camera trigger before informing the PC?

Best regards

from pypylon.

cpt-wojtech avatar cpt-wojtech commented on July 22, 2024

Hello @spoorgholi74 ,
when utilizing the LatestImageOnly strategy the buffer in the queue is overwritten immediately if a new buffer is available. So basically there is no possibility that you read out the previous image if really a new image is available. That is why I think too it's an desync issue and your handshake with the PLC happens faster at some point while the camera hasn't delivered the image yet. This should happen more or less after a defined period of time (there is some variation because of possible jitter and transmission delays on the ethernet line) and after some more time the desync should get even bigger.

Please take into account the parameters ExposureTime and ResultingFramerate of the camera and calculate if the timings fit into the speed of you conveyor belt signal (some more info about acquisition timings here

from pypylon.

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.