10-19-2009 06:42 PM
Is there a way to programmatically detect what IMAQ interfaces are attached to a PC? Obviously this is possible through IMAQdx for 1394, Gigabit, DirectShow, but I've never seen this done using a plain vanilla Analog input. My goal is to have a program that allows a user to specify what type of video interface he is using for a specific test. He will have three options, NTSC analog, 1394, and HD-SDI. Detecting the 1394 and HD-SDI is relatively easy due to the "Enumerate Camera" VI that is provided with the vision acquisition, but its not clear how to do this with analog I/F's.
To summarize I am trying to programmatically detect in LabVIEW the interface labeled Channel 0 and circled in red below. Thanks for any input.
Solved! Go to Solution.
10-20-2009 03:11 PM
Hey MGould,
Unfortunately, there currently is not an IMAQ property node that queries your system for all IMAQ PCI devices. However, there is a possible work around for this. In LabVIEW under the Measurement I/O»MAX Configuration palette there is a VI called MAX Generate Report.VI that generates a report of all the hardware and software listed in MAX. You could use this VI to generate an html report, then read the report in as a text document, and then use string manipulation to parse the report to get relevant information. This is a bit of a work around and may take some unnecessary process time, but it would allow you to pragmatically determine what hardware you have installed on your machine.
10-20-2009 03:26 PM
11-20-2009 05:13 PM
I'm not sure why someone from NI didn't post this but I found this today when working on a seperate issue:
http://digital.ni.com/public.nsf/allkb/CCC5BB5990AA416786256C23006E687C?OpenDocument
It looks like with a little bit of work this is totally possible.
11-20-2009 05:14 PM
PS Ben,
Waterloo labs freaking rocks! Real hand gun + Half-Life 2 ftw