Using NI-ModInst to Query Device Specific Information such as Device Name and Model Number Primary Software: LabVIEW Development Systems>>Professional Development SystemPrimary Software Version: 1.0 Primary Software Fixed Version: N/A Secondary Software: Driver Software>>NI-DMM, Driver Software>>NI-FGEN, Driver Software>>NI-SCOPE, Driver Software>>NI-SWITCH, Driver Software>>NI-HSDIO 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 name, number, and model 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. 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:
Report Date: 04/21/2005 Last Updated: 10/07/2008 Document ID: 3KK599LE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
