How to sync I/O output timing same with frame rate

  • Dear sir


    I am try output one signal when image has any blobs (No matter how many blobs found only output one signal each image).

    but i hope signal output timing same to image output timing when image has any blobs .

    And I maybe found out why there is no synchronization (like below figure).


    This is linescan case ,

    Test line rate = 20K


    do you have any suggestion?

    Va file attached


    thanks

    Oliver

    pasted-from-clipboard.png

  • Hello Oliver


    you want to output the pulse at the end of the frame correct? So if the blob ends at line 545 you still want the output at the end of the frame, correct?


    To do this you need to use operator IsLastPixel like in the example shown in the following figure.

    pasted-from-clipboard.png


    I hope this solves your problen.


    But please note: The DMA can influence the timing of the processing. To implement a 100% solution you need to resynchronize the output with the trigger, encoder or camera timing and pipeline the data in a fifo.


    Johannes


    Johannes Trein
    Group Leader R&D
    frame grabber

    Basler AG



  • Dear Johannes



    you want to output the pulse at the end of the frame correct? So if the blob ends at line 545 you still want the output at the end of the frame, correct?

    YES

    And now it's achieved when use "islastpixel"


    thank you so much!

    Oliver