Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Does mxctrllib provide a call which returns a reference to all the logical names in MAX?

I'm looking for a call that returns all the MAX logical names on a system. I would populate a drop-down box with those names to allow the user to select a name at program run-time. Currently I hard code a particular logical name as a string and init the session. This is not flexible. Thanks ...
0 Kudos
Message 1 of 3
(3,786 Views)
The NiMxCtrl.dll which is the server for the mxctrllib objects is meant for National Instruments internal product use only. There is no documentation for developing 3rd party apps that utilize its functionality.

I'm not sure if you are talking about the IVI logical names listed in MAX or not, but if you want to know where you can get a list of these, they are in the ivi.ini file found in your C:\VXIpnp\Win95\niivi directory. Just parse this file to read all of your IVI logical names and setup parameters.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 3
(3,786 Views)
Actually I found the GetLogicalNamesList function in the IviTools component. In VB it returns a variant collection of strings of all logical driver names in Max. I was pleased to find all the drivers, even ones I created for non-NI drivers. In a For Each string Loop, I cycled thru all the names and retrieved only those matching my criteria.
Larry
0 Kudos
Message 3 of 3
(3,786 Views)