11-19-2016 06:27 PM
Hey,
I have a state machine structure with multiple states which all have camera procedures. The problem is, I initalize the camera for earch processing procedures, which takes 3-4 sec each time. After the image processing algorithms, I close the the sessions.
Can I use one session for the whole state machine and just use the grab blocks to aquire the pictures? I tried using a cluster, which has an initialized camera session refernce, and I connected that to the states' grab/snap blocks, but it seems that idea didn't work.
Any ideas to solve my problem?
Thanks in advence:
Gazsi3
11-20-2016
02:34 PM
- last edited on
05-15-2025
08:46 AM
by
Content Cleaner
use Producer/Consumer method to solve this probelm in this case you do not need to colse camera
https://www.ni.com/en/support/documentation/supplemental/21/producer-consumer-architecture-in-labvie...