Skip to content

MeasurementLink Support for Python v1.2.0-dev0

Pre-release
Pre-release
Compare
Choose a tag to compare
@bkeryan bkeryan released this 01 Aug 17:43
· 513 commits to main since this release
3e0ded3

What's Changed

  • Added support for service annotations by @gpachecoNI in #291 #294 #296 #338
    • The .serviceconfig file now supports specifying additional information about the measurement via the annotations dictionary.
    • Example:
      "annotations":
      {
        "ni/service.description": "Measure inrush current with a shorted load.",
        "ni/service.collection": "CurrentTests.Inrush",
        "ni/service.tags": [ "powerup", "current" ]
      }
    
    • ni-measurementlink-generator now supports generating the annotations dictionary. By default, it sets ni/service.description, ni/service.collection, and ni/service.tags to empty values. You can specify values with the --description, --collection, and --tags command line options.
  • Added support for protobuf enums by @WesleyTangNationalInstruments in #328
    • The protobuf generated code for enums does not use the Python enum module. Instead, it uses integers and provides a subclass of EnumTypeWrapper describing the enum value mapping.
    • When you use the configuration and output decorators to specify measurement parameters, you can now specify either an enum.Enum subclass or an EnumTypeWrapper instance for enum_type.
  • Improved support for automatically launching the discovery service
    • When a python measurement starts discovery service, hide discovery service logs by @vigkre in #343
    • Fix auto-launching discovery service producing a ResourceWarning by @vigkre in #344
  • Examples
  • Minor updates and improvements not listed here

New Contributors

Full Changelog: 1.1.0...1.2.0-dev0