The nislsc package allows you to develop instrumentation, acquisition, and control applications with NI Switch Load and Signal Conditioning (SLSC) devices in Python. NI created and supports this package.
The package is implemented in Python as an object-oriented wrapper around the NI-SLSC C API using the ctypes Python Library.
This package requires the NI-SLSC C API, which was introduced in NI-SLSC 20.0.
nislsc supports Windows and Linux operating systems where the NI-SLSC driver is supported. Refer to NI Hardware and Operating System Compatibility for which versions of the driver support your hardware on a given operating system.
nislsc supports CPython 3.9+ and PyPy3.
You can use pip to download nislsc from PyPI and install it:
$ python -m pip install nislscYou can find the examples for NI-SLSC Python in the nislsc-python examples directory. For best results, use the examples that correspond to your current nislsc version. For example, if you are using version 1.0.0, then check out the examples directory in the 1.0.0 tag. Newer examples may demonstrate features that are not available in previous versions of nislsc.
To report a bug or submit a feature request, please use the GitHub issues page.
Please include all of the following information when opening an issue:
-
Detailed steps on how to reproduce the problem and full traceback, if applicable.
-
The Python version used:
python -c "import sys; print(sys.version)" -
The version of the nislsc used:
python -m pip list
-
The version of the NI-SLSC driver used. Follow this KB article to determine the version of NI-SLSC you have installed.
-
The operating system and version, for example Windows 11, Ubuntu 24.04, ...
nislsc is licensed under an MIT-style license (see LICENSE). Other incorporated projects may be licensed under different licenses. All licenses allow for non-commercial and commercial use.