MeasurementLink Support for Python v1.2.0-dev0
Pre-release
Pre-release
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 theannotations
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 theannotations
dictionary. By default, it setsni/service.description
,ni/service.collection
, andni/service.tags
to empty values. You can specify values with the--description
,--collection
, and--tags
command line options.
- The
- 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
andoutput
decorators to specify measurement parameters, you can now specify either anenum.Enum
subclass or anEnumTypeWrapper
instance forenum_type
.
- The protobuf generated code for enums does not use the Python
- Improved support for automatically launching the discovery service
- Examples
- Minor updates and improvements not listed here
New Contributors
- @gpachecoNI made their first contribution in #291
- @MounikaBattu17 made their first contribution in #340
Full Changelog: 1.1.0...1.2.0-dev0