Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 3.5 out of 5     Rate this Document

How Can I Programmatically Get Information from Modular Instruments?

Hardware: Modular Instruments

Problem:
How can I query my system for Modular Instrument (High-Speed Digitizer, Signal Generator, Digital Multimeter, High-Speed Digital Generator/Analyzer, Switch, RF Signal Generator) device specific information? I'm looking for a method to obtain details such as device name, model number and PXI slot position without opening driver sessions. For DAQmx devices, I can use a DAQmx System property node. Is there a method for Modular Instrument devices?

Solution:


NI-ModInst is an API that you can use to query information about National Instruments Modular Instrument (MI) devices installed in your system. It allows you to query device specific information without opening driver sessions, and can query device names, models, and serial numbers. It used to support the NI-SCOPE driver only and was released with NI-SCOPE 2.8. Currently, it supports all of the Modular Instruments, including NI-SCOPE 2.9, NI-FGEN 2.6, NI-HSDIO 1.5.4, NI-DMM 2.9, NI-RFSG 1.4, NI-RFSA 2.1 and NI-SWITCH 3.0.

An example on how to use the NI-ModInst API is shown below.

The NI-ModInst palette can be found in LabVIEW as shown below.



Note: Launch Measurement and Automation Explorer (MAX) before attempting to query MI devices only supported in Traditional NI-DAQ. If your device is only supported in Traditional NI-DAQ, your device appears in MAX under Devices and Interface»Traditional NI-DAQ Devices and does not appear under Devices and Interface»NI-DAQmx Devices.



Related Links:
Modular Instruments Home Page
KnowledgeBase 2MDFG2WD: Programmatic PXI Slot Detection
KnowledgeBase 3I4FSSN5: How Can I Programmatically Determine What DAQ Devices Are In My System?
KnowledgeBase 0TOE61IU: Programmatically Reading Serial Numbers from National Instruments Data Acquisition Devices
Developer Zone Example: Programmatically Read DAQ Device Serial Numbers

Attachments:


niModInst.JPGniModInst.vi


Report Date: 04/21/2005
Last Updated: 02/11/2009
Document ID: 3KK599LE

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit