LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronizing tasks

Hello experts,
I am using LV 7 Express and WinXP. I acquire images using 6 network video cameras. Using a while loop, the data (mjpg streams obtained using TCP Read VI)are constantly downloaded, but not saved untill I decide to. For sake of synchronization, when I click a "Start saving" button, I would like to start writing the data to disk exactly at the same time for all streams. I have the feeling that some synchronization VIs would be appropriate for this job, but I don't know which ones to use: Notifiers, semaphores, Queues, Rendez-vous, occurences. What would be best?
Thanks!
Phil
0 Kudos
Message 1 of 3
(2,695 Views)
Hi Philippe,

From my experience, You should use the Occurences. They are easy to use and are very fast, so your collected images will be saved togther at once.

It's like a triger that you fire, for collecting the images to the disk.

Q: Are all the acquire images are at one while loop ? If not, the Occurence sulotion will be more powerfull.

Hope it Helps...
Message 2 of 3
(2,695 Views)
Hi Bush-Man
Thanks for the reply. I am going to learn how to use the
occurences.
Each camera has its own while loop.
Phil
0 Kudos
Message 3 of 3
(2,695 Views)