04-24-2006 03:45 PM
04-25-2006 05:43 PM
Hi John123,
You can access the recourse names and limited card info using the niModInst calls, but you will not be able to access the topology of the card before initialization. The function to scan the computer to give the resource descriptors of all boards specific to a Modular Instruments driver is called niModInst. The niModInst Open Installed Devices Session call will create a handle to a list of installed devices supported by the specified driver. Call this API and select the name of a National Instruments instrument driver, such as NI-SWITCH, from the driver control. This call searches the system and constructs a list of all the installed devices that are supported by that driver, and returns both a handle and the number of devices found. The handle is used with other functions to query for attributes such as device name and model, and to safely discard the list when finished.
This is a link to the help files for available niModInst function calls.
'Hope this helps.
04-27-2006 12:15 PM
04-28-2006 05:14 PM
What topology information exactly do you need? When you initialize a session, you specify what topology you want to use, thus you can't get the topology information without first starting a session. The issue is not whether you should include this vis in your current dll. The problem is that there is no info to be accessed before a session is started.
I hope this helps. Please let me know if you have any additional questions or concerns.