Re-enable a callback function
Mostra commenti meno recenti
Hi!
I use the imaq toolbox and the FramesAcquiredFcn to process a frame with a hardware trigger sensor.
If an error in the processing occurs for some reason I stop getting frames and the following message shows:
Warning: The FramesAcquiredFcn callback is being disabled.
To enable the callback, set the FramesAcquiredFcn property.
I want the callback to become re-enabled as soon as its been disabled so it waits for the next trigger again.
If the solution is to "set the FramesAcquiredFcn property" as the errormessage say, how do I do that?
Thanks in advance!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Image Preview and Device Configuration in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!