Skip to content

Releases: ni/measurement-plugin-python

MeasurementLink Support for Python v0.12.2

14 Feb 17:15
f0ca6df
Compare
Choose a tag to compare

MeasurementLink Support for Python (ni-measurementlink-service) is a Python framework that enables measurement developers to quickly create Python measurements and run them as a service (gRPC).

What's Changed

  • BREAKING CHANGE: Update the MeasurementService __init__ method to take in the .serviceconfig file path, version, and UI path.
  • Misc example and documentation improvements

Full Changelog: 0.12.2...0.12.1

Dependencies

Installation

Make sure the system has the recommended Python version installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurementlink-service

Install the ni-measurementlink-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurementlink-generator

MeasurementLink Support for Python v0.12.1

23 Jan 19:14
01ed3af
Compare
Choose a tag to compare

MeasurementLink™ Support for Python (ni-measurementlink-service) is a python framework that enables measurement developers to quickly create python measurements and run them as a service (gRPC).

What's Changed

  • Add channel mapping to SessionInformation
  • Add 'path' type specialization support
  • Add VISA DMM example
  • Various fixes and improvements to the examples

Full Changelog: 0.12.1...0.12.0

Dependencies

Installation

Make sure the system has the recommended Python version installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurementlink-service

Install the ni-measurementlink-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurementlink-generator

MeasurementLink Support for Python v0.12.0

04 Jan 16:44
3b203d9
Compare
Choose a tag to compare

MeasurementLink™ Support for Python (ni-measurementlink-service) is a python framework that enables measurement developers to quickly create python measurements and run them as a service (gRPC).

What's Changed

  • Renamed the packages to 'ni-measurementlink-service' and 'ni-measurementlink-generator'. This corresponds with a change to the repo name
  • Upgraded to protobuf 4.21. This is a new major version that uses the C upb library to improve performance. It breaks compatibility unless you set an environment variable to opt out of the new implementation: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
  • Upgraded to grpcio & grpcio-tools 1.49.1. Version 1.48 and older require protobuf>=3.12.0, < 4.0dev, which means they are not compatible with protobuf 4.21
  • Various fixes and enhancements to the examples including pin support
  • Regenerated stub code with several updated .proto files
  • Support for Python 3.10 and 3.11

Full Changelog: 0.12.0...0.11.1

Dependencies

Installation

Make sure the system has the recommended Python version installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurementlink-service

Install the ni-measurementlink-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurementlink-generator

MeasurementLink™ Support for Python v0.11.1

08 Dec 23:18
b08cca8
Compare
Choose a tag to compare

MeasurementLink™ Support for Python (ni-measurement-service) is a python framework that enables measurement developers to quickly create python measurements and run them as a service (gRPC).

What's Changed

  • Fix build workflow failure that prevented ni-measurement-generator 0.11.0 from being published to PyPI.

Full Changelog: 0.11.0...0.11.1

Dependencies

Installation

Make sure the system has the recommended Python version installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurement-service

Install the ni-measurement-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurement-generator

MeasurementLink™ Support for Python v0.11.0

08 Dec 22:21
3a01934
Compare
Choose a tag to compare

MeasurementLink™ Support for Python (ni-measurement-service) is a python framework that enables measurement developers to quickly create python measurements and run them as a service (gRPC).

What's Changed

  • Update to latest version of MeasurementLink gRPC .proto files and regenerate gRPC stubs.
  • Update DiscoveryClient to use updated key file path. This is required to interoperate with recent builds of MeasurementLink.
  • Add support for 1D string arrays.
  • Update documentation to use "MeasurementLink" terminology.
  • Upgrade to Poetry 1.2 in order to make it easier to use a pre-release version of nimi-python.
    • nimi-python support for gRPC is not released yet, so sharing instrument sessions between InstrumentStudio and TestStand requires obtaining nimi-python from the generated subdirectory of the nimi-python Git repo.
    • Poetry 1.2 allows us to specify references to the nimi-python Git repo in pyproject.toml.
  • Loosen grpcio module versioning. ni-measurement-service now supports grpcio >= 1.41.1, < 2.x. It is no longer locked to a specific grpcio version.
  • Examples:
    • Add new, pin-aware examples for NI-DMM, NI-FGEN, NI-SCOPE, and NI-SWITCH.
    • Add pin control to the UI for all pin-aware examples.
      • Measurement UI Editor currently only supports scalar pins. We are still working on support for pin arrays.
      • nidcpower_source_dc_voltage_with_labview_ui demonstrates LabVIEW support for pin arrays.
    • Update pin-aware examples to support sharing instrument sessions between InstrumentStudio and TestStand, using the NI gRPC Device Server and MeasurementLink Session Management service.
    • Add TestStand sequences and setup/cleanup code modules to all pin-aware examples.
    • Add project files for InstrumentStudio and MeasurementLink UI Editor with the appropriate pin map selected.
    • Rename some existing examples.
    • Fix slow logging with large number of samples in the DAQmx example.
    • Update sample_measurement to demonstrate 1D string arrays.

Full Changelog: 0.10.2...0.11.0

Dependencies

Installation

Make sure the system has the recommended Python version installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurement-service

Install the ni-measurement-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurement-generator

Python Measurement Support v0.10.2

28 Oct 18:24
Compare
Choose a tag to compare

The measurement framework support for Python that enables creating and running Python-based measurements.

Features added:

  • Make stub generation easier with scripts and match the .proto file organization in ASW repo
  • Update to respond to .proto file changes in measurement_service.proto and discovery_service.proto

Abbreviations

  • NIMS - NI Measurement Service Framework - ni_measurement_service.

Dependencies

Installation

Make sure the system has the recommended python version is installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurement-service

Install the ni-measurement-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurement-generator

Python Measurement Support v0.10.1

28 Oct 14:30
8fd691e
Compare
Choose a tag to compare

The measurement framework support for Python that enables creating and running Python-based measurements.

Features added:

  • Make stub generation easier with scripts and match the .proto file organization in ASW repo
  • Update to respond to .proto file changes in measurement_service.proto and discovery_service.proto

Abbreviations

  • NIMS - NI Measurement Service Framework - ni_measurement_service.

Dependencies

Installation

Make sure the system has the recommended python version is installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurement-service

Install the ni-measurement-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurement-generator

Python Measurement Support 0.9.2

18 Oct 19:10
9a401e5
Compare
Choose a tag to compare

The measurement framework support for Python that enables creating and running Python-based measurements.

Features added:

  • Update so ui_file_path is now an list of ui_file_paths and uses a Url.

Abbreviations

  • NIMS - NI Measurement Service Framework - ni_measurement_service.

Dependencies

Installation

Make sure the system has the recommended python version is installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurement-service

Install the ni-measurement-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurement-generator

Python Measurement Support 0.9.1

30 Sep 17:03
c5c881f
Compare
Choose a tag to compare

The measurement framework support for Python that enables creating and running Python-based measurements.

Features added:

  • Fix error in start.bat from the ni-measurement-generator
  • Fix DCMeasurementUI.vi in the 'dc_measurement_labviewUI' example. It was broken.

Abbreviations

  • NIMS - NI Measurement Service Framework - ni_measurement_service.

Dependencies

Installation

Make sure the system has the recommended python version is installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurement-service

Install the ni-measurement-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurement-generator

Python Measurement Support 0.9.0

28 Sep 16:31
8e2866f
Compare
Choose a tag to compare

The measurement framework support for Python that enables creating and running Python-based measurements.

Features added:

  • Add support for all the numeric and boolean array data types to the measurement-service datatype enum
  • Change gRPC max receive / send message size to unlimited

Abbreviations

  • NIMS - NI Measurement Service Framework - ni_measurement_service.

Dependencies

Installation

Make sure the system has the recommended python version is installed.

Install the latest NIMS Framework using pip.

REM Activate the required virtual environment if any.
pip install ni-measurement-service

Install the ni-measurement-generator to create measurement services

REM Activate the required virtual environment if any.
pip install ni-measurement-generator