Skip to content

Repository files navigation

nislsc-python

About

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.

Implementation

The package is implemented in Python as an object-oriented wrapper around the NI-SLSC C API using the ctypes Python Library.

Supported NI-SLSC Driver Versions

This package requires the NI-SLSC C API, which was introduced in NI-SLSC 20.0.

Operating System Support

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.

Python Version Support

nislsc supports CPython 3.9+ and PyPy3.

Installation

You can use pip to download nislsc from PyPI and install it:

$ python -m pip install nislsc

Python Examples

You 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.

Bugs / Feature Requests

To report a bug or submit a feature request, please use the GitHub issues page.

Information to Include When Asking for Help

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, ...

License

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.

About

NI-SLSC API for Python, created and supported by NI

Resources

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages