LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to get a list of hardware from Measurement and Automation reported back to LabVIEW

I am looking at developing some LabVIEW code to determine what Cameras are currently configured in MAX.  Has anyone done this, and has code available, or an idea as to how to approach it.
On a larger level, I also want to be able to determine what hardware (generic) is available in the system.
A.
 
0 Kudos
Message 1 of 2
(2,276 Views)

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

0 Kudos
Message 2 of 2
(2,262 Views)