Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Third Party Switches with NI Switch Executive

Overview

Complete the following steps to create an IVI configuration for a third-party, IVI-compliant switch.

Description

Introduction

NI Switch Executive uses IVI driver sessions and/or IVI logical names as a way to communicate with all IVI-compliant switches. For NI Switch Executive to recognize a third-party switch, you must create an IVI configuration.

Before beginning with this tutorial, please verify that your third party drivers have been downloaded and installed according to the instrument driver vendor's instructions.


Create a Driver Session

     1.  Launch Measurement & Automation Explorer (MAX).

     MAX open.png 

     2.  Expand IVI Drivers.

     3.  Right-click Driver Sessions.

     MAX rclick driversession.png

     4.  Select Create New (case-sensitive).

          The default name is "NewDriverSession#" but can be changed to accurately describe your device model.

     5.  Select the General tab in the window that appears on the right.

     MAX driversession generalTab.png

     6.  Edit the driver setup string as needed. You may need to modify the driver setup string to specify appropriate topology information.

          Refer to your instrument driver vendor for more information.

     7.  Select the Hardware tab.

     8.  Select the hardware in the Hardware Assets window.

          (Optional) Click the Add and Remove buttons to add and remove hardware assets.

     MAX driversession HWTab.png

     9.  Edit the resource descriptor as needed. Refer to the instrument driver vendor for information about specifying the resource descriptor.

     10. Select the Software tab.

     11. Select the IVI driver for the switch from the Software Module drop-down menu.


Note If the software module does not appear in the drop-down menu, verify that the latest driver versions have been installed and then contact the instrument driver vendor for additional troubleshooting steps.

     MAX driversession SWTab.png

     12. Cycle through the tabs and make any additional changes where appropriate.

     13. ClickSaveIVIbutton.png on the NI Switch Executive taskbar to save the changes.

Create a Logical Name

     1.  Under IVI Drivers in the MAX tree, right-click Logical Names.

     2.  Select Create New (case-sensitive). A window appears on the right.

          The default name is "NewLogicalName#" but can be changed to accurately describe your device.

     MAX LogicalNames rclick.png

     3.  In the Driver Session drop-down menu, select the driver session you just created for your switch.

     MAX LogicalNames select driversession.png

     4.  ClickSaveIVIbutton.png on the NI Switch Executive taskbar to save the changes.

Create a NI Switch Executive Device

      1.  Under Devices and Interfaces in the MAX tree, right-click NI Switch Executive Virtual Devices.

          SE rclick createnew.png

     2.  Select Create New. The Create New Switch Executive Virtual Device Wizard appears.

     3.  Select the IVI driver that you just created for your switch.

     4.  Click the SE rightarrow.png to make the association.

          SE select switch.png


     5. Once you have associated your switch, click Next > 

          SE selected switch.png

     6.  The Create New Switch Executive Virtual Device Wizard automatically configures your switch.

          If an error occurs, verify that the configuration information was correctly entered and saved according to this document. After confirming that all of the steps were followed appropriately, if the error continues contact ni.com/support.

     7.  Click Finish

          SE finished.png


Steps to Implement or Execute Code

     n/a

Requirements to Run

Software

  1. NI DAQmx
  2. NI Switch Executive

Hardware

   1.  IVI compliant switch module

Additional Images

     n/a

Product Manager for Product Data
National Instruments
Contributors