09-21-2005 04:15 PM
09-22-2005 04:49 PM
Hello,
I haven't actually written any software to do this, but I have a few ideas that you may find helpful (for the cameras in MAX). If you are working with IMAQ hardware (such as the 1428), then you could use a property node to obtain all of the information about the camera(s) connected to each board (img0, img1, etc...). Similarly, if you are using firewire cameras with the NI IMAQ for IEEE 1394 driver, each camera will appear differently in MAX (cam0, cam1, etc...) and a property node will give you the information you need. For either camera/board type, the process would involve 3 steps: IMAQ Init.vi (to get a reference to the board), the property node, and IMAQ Close.vi (to free up the reference when done). You could do this in a loop, passing a different img or cam number into the Init VI.
There may be other methods to do this, but this is the first one that I thought of.
As far as system hardware in general...I have not worked with other hardware very much. Perhaps someone else on the forum has done this (maybe with the Windows SDK?).
Best Regards,
Jesse D.
Applications Engineering
National Instruments