Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Unregister FrameDoneCallback in IMAQdx

Attempting to sync two cameras...

How do I suspend FrameDoneCallback?
0 Kudos
Message 1 of 6
(3,681 Views)
Can you please clarify your reason for wanting to unregister the Callback function? I might be able to offer you a better solution if I understand what you want to accomplish.
0 Kudos
Message 2 of 6
(3,666 Views)
I am syncing two linescan cameras with an external trigger.
I am pulsing the correct # of triggers/line but sometimes get
a partial frame upon closing the camera session.
0 Kudos
Message 3 of 6
(3,650 Views)
I'm assuming that you are using CVI. Please clarify if this is correct.

Can you give me more info about your code? How is it organized? In what order are you opening/closing sessions (where its being done), acquiring images, etc. I need a better understanding of what you are doing and the issue you are having, in order to make a suggestion.
0 Kudos
Message 4 of 6
(3,645 Views)
Using CVI 8.0 with Vision Dev and Vision Acq 8.5.

I mod'd the low level async example to add an additional
thread for the second camera.

Linescan Camera 1 2048 pixels
Linescan Camera 2 512 pixels

Frame size is set to 250 lines.

I send one external trigger to both cameras
250 times to clock out each line per frame

Upon exiting the session via STOP button,
camera 1 gets a partial frame and camera 2
gets a full frame. STOP is hit randomly thru acquisition.

LVAL of both cameras are not synced.
There is not FVAL line.


0 Kudos
Message 5 of 6
(3,642 Views)
I'm still not quite sure I understand what you want to accomplish by suspending the callback. Do you want to only stop your program after you have finished acquiring a full frame from camera 2, instead of as soon as you push the stop button? It seems like you may just need to add some control logic to the stop button or callback.
0 Kudos
Message 6 of 6
(3,627 Views)