|Download Help (Windows Only)|
NI-ModInst is a component that you can use to query information about National Instruments Modular Instruments installed in your system. NI-ModInst provides a programmatic way to determine the number, names, models, and other attributes of devices in your system that are supported by a specified driver. You can use the NI-ModInst API in applications you develop using LabVIEW, LabWindows™/CVI™, Measurement Studio, or C.
In general, you provide the name of a National Instruments instrument driver to NI-ModInst. Examples of instrument drivers include NI-SCOPE, NI-FGEN, and NI-DMM. NI-ModInst searches the system and finds all the devices that are supported by that driver. You can query NI-ModInst for the number of installed devices, the device names, product models, serial numbers, chassis numbers, slot numbers, bus numbers, and socket numbers.
The following table lists files you may need when using NI-ModInst. These files are installed to the default locations by the NI-ModInst installer.
|LabVIEW||niModInst Open Installed Devices Session.vi,|
niModInst Get Installed Device Attribute (poly).vi,
niModInst Close Installed Devices Session.vi
|NI-ModInst VI palette:
Functions»Instrument I/O»Instrument Drivers»NI-ModInst
|niModInst EX Find Installed Devices.vi (Example Program)||<LabVIEW>\examples\instr\niModInst|