From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-19-2015 03:19 AM
Hi,
I am writing a general purpose template application that must acquire images simultaneously from multiple cameras in LabVIEW using IMAQdx. For maximum flexibility, I would like the number of cameras to be configurable by the user at run time. Previously when I have used multiple cameras I have effectively used parallel while loops to acquire the images, but obviously this is impractical if the maximum number of cameras is not fixed.
I have used event structures and the “Frame Done” event, and it would seem that if I could register the “Frame Done” event from multiple IMAQdx sessions in a single Event Registration Reference, this would be an elegant way of doing this. Is this possible?
Any thoughts and suggestions regarding a suitable architecture would be greatly appreciated.
Thanks!
Mike
01-19-2015 05:49 AM
01-20-2015 07:10 AM
Thanks for the advice Eric.
Your first suggestioh is what I was thinking of, but is it possible to use a single event structure to handle Frame Done events from multiple session?
Mike
01-26-2016 09:34 AM
Hi Mike,
is it possible to use a single event structure to handle Frame Done events from multiple session?
You can create and use your own user event and even name it FrameDone if you like. Just define User Event and Generate this event right after getting an image in your parallel for loop. But I wouldn't definitely recommend you do this because cameras can have different frame rates and are often controlled by a trigger.
I would suggest you follow Eric's advice and use a parallel task for each camera. You can take a look at Actor Framework as it simplifies running and stopping concurent tasks at run-time.
Nikita.
01-26-2016 08:24 PM
there is a small trick to do this
open your cams with imaqdx but use flat sequence for selected port also reed cam mode from information icon and attach it to both of cam property node
then both of cam will be open and work parallel
02-10-2016 03:47 PM
Hello everyone,
I want to design a machine vision system for connecting cables diameter of between 2mm and 5mm and I want to know what type of camera the most appropriate to solve this problem.
The criteria to check are crimping depth on the cables and distances.
thanks
02-11-2016 11:21 AM
Hi nouva,
In order to gain more visiblity in the Community for your question I would recommend creating a new thread. Also, since this thread is not related to your question it would be better to have it in a separate thread.
Have a great day!
Kale W.
02-18-2016 06:45 AM