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.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to not to choose a camera when connecting to any existing camera?

Solved!
Go to solution

To open a camera in LabView, it seems I need to have a "session in" in which I need to manually choose a camera.  Is there is a way that a can loop through all my cameras and perform capturing for each of them? Please provide me with example, thanks!

0 Kudos
Message 1 of 6
(3,105 Views)
Solution
Accepted by topic author tomsze

USE THIS VI  YOU CAN FIND YOUR CAMERA NAME AND INFORMATION YOU CAN USE THIS INFORMATION TO FIND YOUR CAMERA AFTER THAT YO CAN MAKE STRING BASAED ON YOUR CAMERA INDEX IN THIS VI OUTPUT ARRAY 

FOR EXAMPLE IF YOUR CAMERA IS FIRST ONE SO INDEX IS 0  AND YOU CAN ADD CAM0 STRING TO YOUR IMAQDX SESSION 

camer.png

0 Kudos
Message 2 of 6
(3,069 Views)

I was wondering, there is no input for IMAQDX SESSION so how can I change it programmatically?

0 Kudos
Message 3 of 6
(3,060 Views)
what kind of camera you use
0 Kudos
Message 4 of 6
(3,056 Views)

Just a GigE vision camera.

I think I got what u meant after reading this http://digital.ni.com/public.nsf/allkb/4A096593E2BD63BE86257D49007A5B30. Thanks for your help!

0 Kudos
Message 5 of 6
(3,055 Views)
your welcome
this link is exactly what want to say
0 Kudos
Message 6 of 6
(3,047 Views)