niswitch module


As a prerequisite to using the niswitch module, you must install the NI-SWITCH runtime on your system. Visit to download the driver runtime for your devices.

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

$ python -m pip install niswitch


The following is a basic example of using the niswitch module to open a session to a Switch and connect channels.

import niswitch
with niswitch.Session("Dev1") as session:
    session.connect(channel1='r0', channel2='c0')

Other usage examples can be found on GitHub.

API Reference