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

Can I Access My DMM or Switch Instrument through a Programming Environment while the DMM or Switch Soft Front Panel Is Open?

Primary Software: Driver Software>>NI-DMM
Primary Software Version: 2.2.0
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-SWITCH
Hardware: Modular Instruments>>Digital Multimeters (DMM), Switches

Problem: Can I access my DMM or switch instrument through a programming environment while the DMM or switch soft front panel is open?

Solution: No. When you launch the National Instruments DMM Soft Front Panel, or the National Instruments Switch Soft Front Panel, these applications call into their respective instrument drivers (NI-DMM or NI-SWITCH) and open sessions to the hardware. Both NI-DMM and NI-SWITCH conform to the IVI instrument driver specification, which states that only one session to the instrument driver can be opened at any one time.

If you try to access the instrument driver directly through a programming environment (such as LabVIEW, LabWindows/CVI, or Visual Basic) while the soft front panel is still open, your initialize function will fail because the soft front panel already has an open session. The inverse is true as well. If you have an application running which has opened a session to the driver with an initialize function, the soft front panel won't work properly until you have closed the open session in your application.

Related Links:

Attachments:





Report Date: 09/08/2000
Last Updated: 06/30/2004
Document ID: 217C9BY5

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