Skip to main content

NI Semiconductor Device Control python Support provides python APIs to develop python test programs and communicate with a device using the setup configuration exported from the Semiconductor Device Control Add-On for InstrumentStudio.

Project description

About

NI Semiconductor Device Control Python API Support provides Python APIs and examples to develop python test programs and communicate with a device using the setup configuration exported from the Semiconductor Device Control Add-On for InstrumentStudio.

This library is dependent on Semiconductor Device Control addon for InstrumentStudio.

Semiconductor Device Control Python API Status

Setup and cleanup functions

  1. Instantiate - using IS configuration file
  2. Attach to Existing Session
  3. Destroy
  4. Start
  5. Stop

Hardware Read & Write to Register and Field

  1. Write Register by name (Device)
  2. Read Register by name (Device)
  3. Write Register by Address (Device)
  4. Read Register by Address (Device)
  5. Write Custom Register by Address (Device)
  6. Read Custom Register by Address (Device)
  7. Write Field by Name (Device)
  8. Read Field by Name (Device)
  9. Write Field by value definition (Device)

Hardware multiple Read & Write to Register and Field

  1. Write Multiple Register by Name (Device)
  2. Read Multiple Register by name (Device)
  3. Write Multiple Register by Address (Device)
  4. Read Multiple Register by Address (Device)
  5. Write Multiple Fields by Name (Device)
  6. Read Multiple Field by Name (Device)

Cache Read & Write to Register and Field

  1. Write Register by name (Cache)
  2. Read Register by name (Cache)
  3. Write Register by Address (Cache)
  4. Read Register by Address (Cache)
  5. Write Field by Name (Cache)
  6. Read Field by Name (Cache)
  7. Write Field by value definition (cache)
  8. Write from Cache to Device
  9. Clear Cache

Cache multiple Read & Write to Register and Field

  1. Write Multiple Register by Name (Cache)
  2. Read Multiple Register by name (Cache)
  3. Write Multiple Register by Address (Cache)
  4. Read Multiple Register by Address (Cache)
  5. Write Multiple Fields by Name (Cache)
  6. Read Multiple Field by Name (Cache)

DIO operation

  1. Write Pin State
  2. Read Pin State

Utils

  1. Get Dynamic Protocol Settings
  2. Update Dynamic Protocol Settings
  3. Get Instrument Session **
  4. Get Session Options

(** This API is deprecated from 2023 Q4 version of Semiconductor Device Control Addon. Refer to the user manual for more information.)

Installation

Dependency Installation

  1. Semiconductor Device Control addon for InstrumentStudio 2024 Q3.
  2. pythonnet 3.0.3 - pypi download

Work with github source code

  1. Clone the github repository - semiconductor device control python api github repo.
  2. Use the APIs from 'nisdc' folder in your program

Work with Semiconductor Device Control Python API from PyPI

  1. Go to Semiconductor Device Control Python API location in the github repository.
  2. Install the package and use the api libraries in your program

Usage

Reference example is available in the(https://github.com/ni/nisemi-python) for developers (under examples folder), to refer on how to use the python APIs in the test program.

Documentation

Documentation is available from ni resource website - here.

Contributing

We welcome contributions! You can clone the project repository, make changes, build it, and install it by following these instructions. This also has instruction on how to contribute your changes back to the main repository.

Bugs / Feature Requests

To report a bug or submit a feature request specific feature, please use the https://github.com/ni/nisemi-python/issues.

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

For hardware support or any other questions not specific to this GitHub project, please visit NI Community Forums.

License

License file

semi device control python api is licensed under an MIT-style license Other incorporated projects may be licensed under different licenses. All licenses allow for non-commercial and commercial use.

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

nisdc-24.5.0.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

nisdc-24.5.0.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file nisdc-24.5.0.0.tar.gz.

File metadata

  • Download URL: nisdc-24.5.0.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.8.18 Linux/6.5.0-1022-azure

File hashes

Hashes for nisdc-24.5.0.0.tar.gz
Algorithm Hash digest
SHA256 acebb2e30ca8bc52750e7a100b84f42100c599efc621d2557243b30387d3a691
MD5 b40740baa91afe94cee22b47697fa4c9
BLAKE2b-256 008ae44c03504406468f7a10e1e6df67adf025a8c4fe1cf9e10f3bca074d948f

See more details on using hashes here.

File details

Details for the file nisdc-24.5.0.0-py3-none-any.whl.

File metadata

  • Download URL: nisdc-24.5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.8.18 Linux/6.5.0-1022-azure

File hashes

Hashes for nisdc-24.5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a798047a522effdfb8ea3ac7121c9fce06688668b0a4cf92a421238ecb26573c
MD5 715f652cc327cb86451f94ed22b40a78
BLAKE2b-256 47378a9e989e0890b81052457844d6f3ff0abdfed3f615f05f52595a729309df

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