Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Initializing camera time

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

 

0 Kudos
Message 1 of 2
(2,859 Views)

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...

0 Kudos
Message 2 of 2
(2,820 Views)