01-22-2007 11:43 AM
01-23-2007 01:48 AM
Hi JRF,
The list of devices is obtained basically from the Measurement & Automation Explorer. This software is included with the drivers and u can find it on Start -> Programs -> National Instruments -> Measurement & Automation Explorer (MAX) . From there you should be able to find all the devices under My System -> Devices & Interfaces .
This is the normal procedure.
If you want to take a list of devices programatically from C I think you should make individuall function calls to the dll of the drivers. And as every kind of board works with different drivers probably you should need to call some of them depending of the kind of cards you want to detect.
You can find the functions of the dll to detect GPIB (under NI-488.2 driver) and DAQ (under NIDAQmx driver) on the next document:
http://digital.ni.com/public.nsf/websearch/31AB32576F064A13862569E60067320C?OpenDocument
If you want to detect any other kind of board/device you should probably look at the help of the driver to find the needed function.
Hope that helps,
01-24-2007 10:48 AM
01-25-2007 11:32 AM
Hi,
I was not able to found the info for that link...
Anyway you can use the Get_DAQ_Device_Info function... just use it for 15 devices and you will receive information from all of them, if they exist or not and which type they are,
01-25-2007 12:49 PM - edited 01-25-2007 12:49 PM
Message Edited by Brad K on 01-25-2007 12:50 PM
01-29-2007 04:47 AM