LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read MAX imaq config settings from LV

I would like to find all imaq and imaq1394 interfaces configured in MAX from my Labview application similar to what Vision Builder does. Is there an elegant way of getting the config info (other than a brute force approach of trying to open lots of sessions with different interface names)?
0 Kudos
Message 1 of 5
(3,177 Views)
What version of LV and MAX are you using? In V6.1 and earlier there were VIs for programatically reading the MAX configuration, don't know if V7 still has them. If so, they might be able to read what interfaces exist.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(3,177 Views)
This is for LV6.1 but will migrate to LV7. I have read ni-daq config settings from MAX but I haven't seen vi's for reading the imaq config. If I';m missing some VI please let me know.
0 Kudos
Message 3 of 5
(3,177 Views)
There aren't any VIs available to programatically read the IMAQ configuration files from MAX into LabVIEW. Like you mentioned in your original post, the best way for now is to put IMAQ Init VI in a for loop and go through the possible cameras (img0, img1, cam0, cam1, etc), checking to see if there is an error or not. However, I will let the developers know that there is interest in this capability.

Julie S.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(3,177 Views)
There aren't any specific VI for reading IMAQ data. It just seems a possibility that given there are VIs for reading MAX configurations and the IMAQ settings are stored in MAX, you might be able to get at the image information using the same routines.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 5
(3,177 Views)