nise module

Installation

As a prerequisite to using the nise module, you must install the NI Switch Executive runtime on your system. Visit ni.com/downloads to download the driver runtime for your devices.

The nimi-python modules (i.e. for NI Switch Executive) can be installed with pip:

$ python -m pip install nise~=1.4.1

Or easy_install from setuptools:

$ python -m easy_install nise

Usage

The following is a basic example of using the nise module to open a session to a Switch Executive Virtual Device and connect a routegroup.

import nise
with nise.Session('SwitchExecutiveExample') as session:
    session.connect('DIOToUUT')

Additional examples for NI Switch Executive are located in src/nise/examples/ directory.