Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anybody know what this function does - imaq1394GetInterfaceFilesCW?

I have four IEEE-1394 cameras attached to my system, and they all have a specific field of view. I want to at least ensure that they are all connected, and have the original camera names that they were assigned.
 
Will the imaq1394GetInterfaceFilesCW give me the necessary information? How is it used? How do I parse the resulting "InterfaceFile" structure?
 
Do you any example code?
 
In case it wasn't obvious, I am programming in VB.
 
Thanks!
 
 
0 Kudos
Message 1 of 3
(2,989 Views)
Steverino -

imaq1394GetInterfaceFilesCW() will give you the necessary information.  Looking at the function reference, the InterfaceFile structure contains the camera name as well as whether it is connected or not.  For an example of using this function to get this information, look at the Enumerate1394.vbp example under <National Instruments>/NI-IMAQ for IEEE-1394/Examples/VB/Enumerate1394.

Greg Stoll
IMAQ R & D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 2 of 3
(2,985 Views)

Thanks for the info. For whatever reason, that example wasn't on my computer. I found it on a different one.

Thanks again!

0 Kudos
Message 3 of 3
(2,982 Views)