Skip to main content

myrio_library - a library for working with NI myRIO in Python

This is a set of tools to program the NI myRIO programmable device using Python. The myRIO is an FPGA-based RT device that is programmed usually in LabVIEW.

In this library, we have created some support functions and a class named MyRIO. We call it "library" because the aim of this project is to create a collection of packages for running Python programs in different environments (multiple myRIOs, for example).

The packages myRIO_base and myRIO_API are designed to work locally, inside the myRIO. myRIO runs a reduced version of Linux named NI Linux RT.

https://www.ni.com/en/shop/linux/under-the-hood-of-ni-linux-real-time.html

The main idea is to be able to install the base library inside the myRIO and to run basic functions easily.

If you want to use the base library, you will need an updated NI Linux RT image, SSH enabled (it is easy to set in NI MAX, the configuration tool), and Internet enabled on your myRIO (check the myRIO documentation for that). You will need a privileged account (in myRIO the default administrator user is admin) if you want to have access to the FPGA registers (the basic package, nifpga, needs that).

When ready, you should connect (ssh) to the myRIO and ensure that everything is up-to-date before installing myRIO_library:

https://oldwiki.archive.openwrt.org/doc/techref/opkg

opkg update opkg install python3 python3-misc python-pip

python -m pip install myrio_library

Check the examples folder inside the site-packages/myRIO_library/examples folder for further help.

The myRIO_API package creates and serves an API implementation based on myRIO_base.

Read its specific documentation and examples for more information.

And finally, the third package of the library, myRIO_API_client, can run on any computer that supports Python. You can install it using pip:

pip install myrio_library

This library is an improvement over nifpga, a Python library that gives access to the FPGA registers of NI targets with FPGA.

https://github.com/ni/nifpga-python

This package is a client implementation for accessing the API. You will need communication with the myRIO (via USBLAN or WiFi) in order to use the API. More info in the specific docs about the myRIO_API_client package.

Last update: 2025/09/26 Aitzol Ezeiza Ramos (University of the Basque Country - EHU)

Metadata

Release files for myrio-library 1.4.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for myrio-library 1.4.7
File Size Uploaded
myrio_library-1.4.7.tar.gz 532.5 kB Details

Release files / myrio_library-1.4.7.tar.gz

Download URL myrio_library-1.4.7.tar.gz
Size 532.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9f1ed64b5ed64f93c94d71e3f644cd5c4667ab065b4383bb60eb039c2523d6d6
BLAKE2b-256 checksum
How to use checksums
a1572fc9cbb0eba189ba583bbda39b6777a03e242d1778b8b0ba913e863dd09f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

1.4.7 This release

1 release file

1.4.6

1 release file

1.4.5

1 release file

1.4.4

1 release file

1.4.3

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.1.2

2 release files

1.0.3

2 release files

0.4.2

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page