Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Where does MAX now store instrument resource descriptors?(It was in ivi.ini before under the hardware section)

We have applications that access ivi.ini directly but have now noticed with later MAX versions that one of the hardware sections (containing the resource description string) is no longer there. Where does MAX get this information from now and what other changes to ivi.ini exist?
0 Kudos
Message 1 of 3
(3,199 Views)
There have been no recent changes to the ivi.ini file structure.

The Device section of the MAX IVI interface (My System >> IVI Instruments >> Devices) corresponds to the parts of the ivi.ini file that contain resource descriptors. Those descriptors are not filled or taken away automatically, but modified through user actions in MAX.

For what purposes are you accessing the ivi.ini file directly?

Most operations that might require access to the ivi.ini file can actually be done through function calls to the IVI Engine, and do not require file access or modification. These include reading of data contained in the INI file, creating logical names, virtual instruments, instrument drivers, devices, and virtual channels.

The function calls will continue to b
e supported in the IVI Engine for the forseeable future. Direct access to the ivi.ini file is neither encouraged nor intended for long-term use.

--Bankim

Bankim Tejani
Software Engineer
Instrument Drivers/IVI
National Instruments
0 Kudos
Message 2 of 3
(3,199 Views)
One reason a developer may want to go directly to ivi.ini is that Session Manager does not currently support dynamically created logical names. Hopefully this feature will be added in the future.
0 Kudos
Message 3 of 3
(3,199 Views)