Change gpib device templates, Enable/disable ni-488.2 dos support – National Instruments NI-488.2 User Manual
Page 26

Chapter 2
Measurement & Automation Explorer (Windows)
2-12
ni.com
Change GPIB Device Templates
For older NI-488.2 applications, you might need to modify one of the
device templates to find a given GPIB instrument by name, for example,
ibfind("fluke45")
. Older applications still use
ibfind
instead of the
preferred
ibdev
to obtain a device handle. In new applications, avoid using
ibfind
to obtain device handles and use
ibdev
instead. You can use
ibdev
to dynamically configure your GPIB device handle.
ibdev
also
eliminates unneccessary device name requirements.
If you must modify a device template, run the GPIB Configuration utility.
1.
Start Measurement & Automation Explorer as described in the
Starting Measurement & Automation Explorer
section.
2.
Select Help»Help Topics»NI-488.2 to view the NI-488.2 Help.
3.
Search for the topic named How do I change a GPIB Device Template?
and click the link to open the GPIB Configuration utility.
4.
Double-click the device template you want to modify, such as DEV1.
5.
Rename the template as described in your application documentation.
6.
Click the OK button twice to save your changes and exit.
Enable/Disable NI-488.2 DOS Support
Note
NI-488.2 DOS support is not available on Windows Vista or later operating systems.
To enable or disable NI-488.2 DOS support, complete the following steps:
1.
Start Measurement & Automation Explorer as described in the
Starting Measurement & Automation Explorer
section.
2.
Click on your GPIB interface and select Tools»NI-488.2»
DOS Support... from the Explorer menu.
3.
Enable or disable DOS support in the NI-488.2 Settings dialog box
and click OK.
4.
If you are prompted to do so, restart your system.