Skip to main content

NI System Configuration Python API

Project description

Info

NI System Configuration Python API

Author

National Instruments

About

The nisyscfg package contains an API (Application Programming Interface) for interacting with NI System Configuration. The package is implemented in Python. This package was created by NI. The package is implemented as a complex, highly object-oriented wrapper around the NI System Configuration C API using the ctypes Python library.

nisyscfg supports only the Windows and Linux operating systems.

nisyscfg supports CPython 3.9+.

Installation

Note: Running nisyscfg requires the NI System Configuration Runtime. Visit the ni.com/downloads to download the latest version of NI System Configuration.

Install nisyscfg from PyPI:

$ pip install nisyscfg

Or, install nisyscfg by cloning the main branch and running the following command in the directory of setup.py:

$ pip install --pre .

Usage

The following is a basic example of using an nisyscfg.Session object.

>>> import nisyscfg
>>> with nisyscfg.Session() as session:
>>>     # Print user aliases for all National Instruments devices in the local system
>>>     filter = session.create_filter()
>>>     filter.is_present = True
>>>     filter.is_ni_product = True
>>>     filter.is_device = True
>>>     for resource in session.find_hardware(filter):
>>>         print(resource.expert_user_alias[0])

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

nisyscfg-0.2.0-py3-none-any.whl (49.8 kB view details)

Uploaded Python 3

File details

Details for the file nisyscfg-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: nisyscfg-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 49.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for nisyscfg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bac4c4a27530d6c134ca8fdedc85e7c94e3a303b619b397aa07cc191f1f4e10
MD5 5dabcadefb99d77989400ab49e2bd1f6
BLAKE2b-256 9f91062cb3dc25ebf6e3b5858d152330b8b3e0c5c7051260ee94b2b4479b7298

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