LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determining Driver Key of Connected Camera IMAQ

Hello.

 

I am working on an application that uses multiple camera systems running with NI Vision drivers. One of these USB cameras is required to switch to a different factory driver to perform photometer readings. I have been using the IMAQdx driver switcher vi and utility and it is working great, however my issue is programmatically determining the current driver key instance of the specific camera I want to switch.

 

The driver key appears to update to a different instance id (as an example going from \0001 to \0004) when the camera is unplugged and reinserted. Is there a way to use IMAQdx or NI MAX to determine the driver key and instance of a specific camera, so that I can feed that information into my driver switcher?

 

LabVIEW 2023 Q3 64 bit

NI Max 2023 Q4

IMAQdx 2023 Q1

Windows 10 64 bit

0 Kudos
Message 1 of 3
(318 Views)

@xdgfxr wrote:

I have been using the IMAQdx driver switcher vi and utility and it is working great, however my issue is programmatically determining the current driver key instance of the specific camera I want to switch.


I was involved with a pretty big multi-camera system (up to 24 stations running cameras to capture 5-10 second behaviors that happen a few times/hour).  I don't recall anything called the IMAQdx driver switcher VI (we were using LabVIEW 2016).  I'd like to learn about this -- can you tell me where to look for this in the LabVIEW Vision/IMAQ VIs?  (I have a LabVIEW 2021 system with LabVIEW Vision installed, but haven't used it in several years ...).

 

Bob Schor

0 Kudos
Message 2 of 3
(265 Views)

Yeah, here is a link to an NI question regarding how to find and use it: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DlY6CAK&l=en-US

 

It works pretty good, so long as you have the driver key of the specific camera you want to switch (thus my question).

0 Kudos
Message 3 of 3
(244 Views)