Skip to main content


Project description

Info Communicate over CAN or LIN via NI-XNET hardware with Python.
Author National Instruments
PyPI Documentation License Language versions Build Unit-test Coverage
>>> import nixnet
>>> with nixnet.FrameInStreamSession('CAN1') as input_session:
>>>     input_session.intf.can_term = constants.CanTerm.ON
>>>     input_session.intf.baud_rate = 125000

>>>     frames =
>>>     for frame in frames:
>>>         print('Received frame:')
>>>         print(frame)

Quick Start

Running nixnet requires NI-XNET or NI-XNET Runtime. Visit the to download the latest version of NI-XNET.

nixnet can be installed with pip:

$ python -m pip install nixnet~=0.3.2

Now you should be able to move onto the Examples.


Product Support

The nixnet package and NI-XNET are supported by NI. For support, open a request through the NI support portal at

Bugs / Feature Requests

We welcome all kinds of contributions. If you have a bug to report or a feature request for nixnet, feel free to open an issue on Github or contribute the change yourself.


nixnet package is created and maintained by National Instruments.

  • The following support is included:
    • CAN and LIN protocol
    • Frames, Signals, and frame/signal conversion
    • Database APIs
    • For a complete list of supported features and functions, see the documentation.
  • See the enhancement issues for potential future work.
  • Breaking API changes will be kept to a minimum. If a breaking change is made, it will be planned through breaking-change isssues and communicated via semver and the release notes.
  • Known issues.

nixnet currently supports

  • Windows operating system.
  • CPython 2.7.0+, 3.4+, PyPy2, and PyPy3.
  • NI-XNET 15.5+


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nixnet, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size nixnet-0.3.2.tar.gz (147.6 kB) File type Source Python version None Upload date Hashes View
Filename, size nixnet-0.3.2-py2.py3-none-any.whl (152.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page