Skip to main content

Overall Status

master branch status

Build Status - master branch MIT License Test Coverage - master branch

GitHub status

Open Issues + Pull Requests Open Pull Requests

Info

NI Modular Instrument driver APIs for Python.

Author

NI

About

The nirfsa module provides a Python API for NI-RFSA. The code is maintained in the Open Source repository for nimi-python.

Support Policy

nirfsa supports all the Operating Systems supported by NI-RFSA.

It follows Python Software Foundation support policy for different versions of CPython.

NI created and supports nirfsa.

NI-RFSA Python API Status

NI-RFSA (nirfsa)

Driver Version Tested Against

2026 Q3

PyPI Version

Latest NI-RFSA Version

Supported Python Version

NI-RFSA supported Python versions

Documentation

NI-RFSA Python API Documentation Status

Open Issues

Open Issues + Pull Requests for NI-RFSA

Open Pull Requests

Pull Requests for NI-RFSA

Installation

As a prerequisite to using the nirfsa module, you must install the NI-RFSA runtime on your system. Visit ni.com/downloads to download the driver runtime for your devices.

The nimi-python modules (i.e. for NI-RFSA) can be installed with pip:

$ python -m pip install nirfsa~=1.0.0

Contributing

We welcome contributions! You can clone the project repository, build it, and install it by following these instructions.

Usage

The following is a basic example of using the nirfsa module to open a session to an RF Signal Analyzer and perform a spectrum acquisition.

import nirfsa

# Configure the session
with nirfsa.Session(resource_name='5841', id_query=False, reset_device=False, options='Simulate=1, DriverSetup=Model:5841') as rfsa_session:
    rfsa_session.acquisition_type = nirfsa.AcquisitionType.IQ

    rfsa_session.reference_level = -10
    rfsa_session.iq_carrier_frequency = 1e9

    iq_data_array = np.zeros(1024, dtype=np.complex128)

    wfm_info = rfsa_session.read_iq_single_record_into(iq_data_array)
    # Perform measurements...

Other usage examples can be found on GitHub. .. _support-section:

Support / Feedback

For support specific to the Python API, follow the processs in Bugs / Feature Requests. For support with hardware, the driver runtime or any other questions not specific to the Python API, please visit NI Community Forums.

Bugs / Feature Requests

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

Fill in the issue template as completely as possible and we will respond as soon as we can.

Documentation

Documentation is available here.

License

nimi-python 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.

gRPC Features

For driver APIs that support it, passing a GrpcSessionOptions instance as a parameter to Session.__init__() is subject to the NI General Purpose EULA (see NILICENSE).

Download files

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

Source Distribution

nirfsa-1.0.0.tar.gz (141.6 kB view details)

Uploaded Source

Built Distribution

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

nirfsa-1.0.0-py3-none-any.whl (145.9 kB view details)

Uploaded Python 3

File details

Details for the file nirfsa-1.0.0.tar.gz.

File metadata

  • Download URL: nirfsa-1.0.0.tar.gz
  • Upload date:
  • Size: 141.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for nirfsa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 179c0274c1e959b3eb1b014735c00dea184e191a8ffbd40990d20db54e6ac784
MD5 78ed2145248bd2edb2555bec5524f983
BLAKE2b-256 0387906ce19474514e58a143e27649b8fa05ea3e4301b431cba5aeeba446155c

See more details on using hashes here.

File details

Details for the file nirfsa-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nirfsa-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 145.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for nirfsa-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69c275228dc14208531617b63221722e044a5066c98f4850219cbd1d94fff347
MD5 4aa4811f74da3307dc3d5bd8790eae98
BLAKE2b-256 fe01e6a9edeba9d3db46b593dd8a02b44f34ff13b16af1f3f421573455a397e0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

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