Coder Social home page Coder Social logo

nisyscfg-python's Introduction

NI System Configuration Python API

Python bindings for NI System Configuration. See GitHub for the latest source.

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

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])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.