Skip to main content

A library to control the myRIO board from National Instruments

Project description

myRIO_library - a library for working with NI myRIO in Python

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

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 current version only works locally, inside the myRIO, that runs 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 this library from myRIO and to run basic functions easily.

If you want to use this 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).

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 folders for further help.

Last update: 2024/03/07 Aitzol Ezeiza Ramos (UPV/EHU)

Project details


Download files

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

Source Distribution

myRIO_library-0.3.0.tar.gz (486.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

myRIO_library-0.3.0-py3-none-any.whl (492.9 kB view details)

Uploaded Python 3

File details

Details for the file myRIO_library-0.3.0.tar.gz.

File metadata

  • Download URL: myRIO_library-0.3.0.tar.gz
  • Upload date:
  • Size: 486.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for myRIO_library-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2fa1102520f25bc95ff6a162dcf37899ac6b2b5ef4ee72b1ece363b29343bd80
MD5 fe7922e5e2105f907f2e59988a5250e7
BLAKE2b-256 31aa75cd45d91d54712bfd5a08ae5c52bd65df81c99e9248e3a0fef7bee7d0fa

See more details on using hashes here.

File details

Details for the file myRIO_library-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: myRIO_library-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 492.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for myRIO_library-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4de9dda645e21cb130ad9ae66730832279d556431db9b8446a96a1ed245ef816
MD5 6b9fbee6a8a91e07652436ca9068472d
BLAKE2b-256 584e7387a2c81517d953a8faee7cb56fcb838dab80b7fcbc3c76c953035b4727

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page