ni.measurements.data.v1.data_store_service_pb2_grpc

Classes

DataStoreServiceStub

This service provides endpoints for the publishing of measurements.

DataStoreServiceAsyncStub

This service provides endpoints for the publishing of measurements.

DataStoreServiceServicer

This service provides endpoints for the publishing of measurements.

Functions

add_DataStoreServiceServicer_to_server(servicer, server)

Package Contents

class ni.measurements.data.v1.data_store_service_pb2_grpc.DataStoreServiceStub(channel)

This service provides endpoints for the publishing of measurements. This includes associating measurements with the conditions associated with the measurement, querying for the published measurements with OData queries, and reading back these published values.

Parameters:

channel (Union[grpc.Channel, grpc.aio.Channel])

CreateTestResult: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.CreateTestResultRequest, ni.measurements.data.v1.data_store_service_pb2.CreateTestResultResponse]

Creates a test result object for publishing measurements. Once a test result is created, you can publish an arbitrary number of measurements to the test result. The measurements will be associated with each of the metadata types specified in the test result. For instance, if you specify an operator when creating a test result, all measurements published to the test result will be associated with that operator. The response will include the test result id, which can be used to reference the test result in subsequent requests, and to get the test result metadata via the GetTestResult method.

GetTestResult: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.GetTestResultRequest, ni.measurements.data.v1.data_store_service_pb2.GetTestResultResponse]

Gets the test result associated with the identifier given in the request.

QueryTestResults: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.QueryTestResultsRequest, ni.measurements.data.v1.data_store_service_pb2.QueryTestResultsResponse]

Query for test results matching the given OData query. For information about the OData query syntax, see https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

CreateStep: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.CreateStepRequest, ni.measurements.data.v1.data_store_service_pb2.CreateStepResponse]

Creates a new step in the data store. A step is owned by a test result, and is a logical grouping of published measurements. All published measurements must be associated with a step.

GetStep: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.GetStepRequest, ni.measurements.data.v1.data_store_service_pb2.GetStepResponse]

Gets the step associated with the identifier given in the request.

QuerySteps: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.QueryStepsRequest, ni.measurements.data.v1.data_store_service_pb2.QueryStepsResponse]

Query for steps matching the given OData query. For information about the OData query syntax, see https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

PublishCondition: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.PublishConditionRequest, ni.measurements.data.v1.data_store_service_pb2.PublishConditionResponse]

Publishes a single condition value for a test step. Conditions are contextual values like input voltage, temperature, or humidity present during measurement.

PublishConditionBatch: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.PublishConditionBatchRequest, ni.measurements.data.v1.data_store_service_pb2.PublishConditionBatchResponse]

Publishes multiple condition values at once for parametric sweeps.

PublishMeasurement: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementRequest, ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementResponse]

Publishes a single measurement value associated with a test step.

PublishMeasurementBatch: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementBatchRequest, ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementBatchResponse]

Publishes multiple measurements at once for parametric sweeps.

GetMeasurement: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.GetMeasurementRequest, ni.measurements.data.v1.data_store_service_pb2.GetMeasurementResponse]

Gets the measurement associated with the given id.

GetCondition: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.GetConditionRequest, ni.measurements.data.v1.data_store_service_pb2.GetConditionResponse]

Gets the condition associated with the given id.

QueryConditions: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.QueryConditionsRequest, ni.measurements.data.v1.data_store_service_pb2.QueryConditionsResponse]

Queries conditions using OData query syntax. See https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

QueryMeasurements: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.QueryMeasurementsRequest, ni.measurements.data.v1.data_store_service_pb2.QueryMeasurementsResponse]

Queries measurements using OData query syntax. See https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

ReadConditionValue: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.ReadConditionValueRequest, ni.measurements.data.v1.data_store_service_pb2.ReadConditionValueResponse]

Reads the value corresponding to the specified condition.

ReadMeasurementValue: grpc.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.ReadMeasurementValueRequest, ni.measurements.data.v1.data_store_service_pb2.ReadMeasurementValueResponse]

Reads the value corresponding to the specified measurement.

class ni.measurements.data.v1.data_store_service_pb2_grpc.DataStoreServiceAsyncStub

This service provides endpoints for the publishing of measurements. This includes associating measurements with the conditions associated with the measurement, querying for the published measurements with OData queries, and reading back these published values.

CreateTestResult: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.CreateTestResultRequest, ni.measurements.data.v1.data_store_service_pb2.CreateTestResultResponse]

Creates a test result object for publishing measurements. Once a test result is created, you can publish an arbitrary number of measurements to the test result. The measurements will be associated with each of the metadata types specified in the test result. For instance, if you specify an operator when creating a test result, all measurements published to the test result will be associated with that operator. The response will include the test result id, which can be used to reference the test result in subsequent requests, and to get the test result metadata via the GetTestResult method.

GetTestResult: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.GetTestResultRequest, ni.measurements.data.v1.data_store_service_pb2.GetTestResultResponse]

Gets the test result associated with the identifier given in the request.

QueryTestResults: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.QueryTestResultsRequest, ni.measurements.data.v1.data_store_service_pb2.QueryTestResultsResponse]

Query for test results matching the given OData query. For information about the OData query syntax, see https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

CreateStep: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.CreateStepRequest, ni.measurements.data.v1.data_store_service_pb2.CreateStepResponse]

Creates a new step in the data store. A step is owned by a test result, and is a logical grouping of published measurements. All published measurements must be associated with a step.

GetStep: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.GetStepRequest, ni.measurements.data.v1.data_store_service_pb2.GetStepResponse]

Gets the step associated with the identifier given in the request.

QuerySteps: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.QueryStepsRequest, ni.measurements.data.v1.data_store_service_pb2.QueryStepsResponse]

Query for steps matching the given OData query. For information about the OData query syntax, see https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

PublishCondition: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.PublishConditionRequest, ni.measurements.data.v1.data_store_service_pb2.PublishConditionResponse]

Publishes a single condition value for a test step. Conditions are contextual values like input voltage, temperature, or humidity present during measurement.

PublishConditionBatch: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.PublishConditionBatchRequest, ni.measurements.data.v1.data_store_service_pb2.PublishConditionBatchResponse]

Publishes multiple condition values at once for parametric sweeps.

PublishMeasurement: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementRequest, ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementResponse]

Publishes a single measurement value associated with a test step.

PublishMeasurementBatch: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementBatchRequest, ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementBatchResponse]

Publishes multiple measurements at once for parametric sweeps.

GetMeasurement: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.GetMeasurementRequest, ni.measurements.data.v1.data_store_service_pb2.GetMeasurementResponse]

Gets the measurement associated with the given id.

GetCondition: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.GetConditionRequest, ni.measurements.data.v1.data_store_service_pb2.GetConditionResponse]

Gets the condition associated with the given id.

QueryConditions: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.QueryConditionsRequest, ni.measurements.data.v1.data_store_service_pb2.QueryConditionsResponse]

Queries conditions using OData query syntax. See https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

QueryMeasurements: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.QueryMeasurementsRequest, ni.measurements.data.v1.data_store_service_pb2.QueryMeasurementsResponse]

Queries measurements using OData query syntax. See https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

ReadConditionValue: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.ReadConditionValueRequest, ni.measurements.data.v1.data_store_service_pb2.ReadConditionValueResponse]

Reads the value corresponding to the specified condition.

ReadMeasurementValue: grpc.aio.UnaryUnaryMultiCallable[ni.measurements.data.v1.data_store_service_pb2.ReadMeasurementValueRequest, ni.measurements.data.v1.data_store_service_pb2.ReadMeasurementValueResponse]

Reads the value corresponding to the specified measurement.

class ni.measurements.data.v1.data_store_service_pb2_grpc.DataStoreServiceServicer

This service provides endpoints for the publishing of measurements. This includes associating measurements with the conditions associated with the measurement, querying for the published measurements with OData queries, and reading back these published values.

abstractmethod CreateTestResult(request, context)

Creates a test result object for publishing measurements. Once a test result is created, you can publish an arbitrary number of measurements to the test result. The measurements will be associated with each of the metadata types specified in the test result. For instance, if you specify an operator when creating a test result, all measurements published to the test result will be associated with that operator. The response will include the test result id, which can be used to reference the test result in subsequent requests, and to get the test result metadata via the GetTestResult method.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.CreateTestResultResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.CreateTestResultResponse]]

abstractmethod GetTestResult(request, context)

Gets the test result associated with the identifier given in the request.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.GetTestResultResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.GetTestResultResponse]]

abstractmethod QueryTestResults(request, context)

Query for test results matching the given OData query. For information about the OData query syntax, see https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.QueryTestResultsResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.QueryTestResultsResponse]]

abstractmethod CreateStep(request, context)

Creates a new step in the data store. A step is owned by a test result, and is a logical grouping of published measurements. All published measurements must be associated with a step.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.CreateStepResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.CreateStepResponse]]

abstractmethod GetStep(request, context)

Gets the step associated with the identifier given in the request.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.GetStepResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.GetStepResponse]]

abstractmethod QuerySteps(request, context)

Query for steps matching the given OData query. For information about the OData query syntax, see https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.QueryStepsResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.QueryStepsResponse]]

abstractmethod PublishCondition(request, context)

Publishes a single condition value for a test step. Conditions are contextual values like input voltage, temperature, or humidity present during measurement.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.PublishConditionResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.PublishConditionResponse]]

abstractmethod PublishConditionBatch(request, context)

Publishes multiple condition values at once for parametric sweeps.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.PublishConditionBatchResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.PublishConditionBatchResponse]]

abstractmethod PublishMeasurement(request, context)

Publishes a single measurement value associated with a test step.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementResponse]]

abstractmethod PublishMeasurementBatch(request, context)

Publishes multiple measurements at once for parametric sweeps.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementBatchResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.PublishMeasurementBatchResponse]]

abstractmethod GetMeasurement(request, context)

Gets the measurement associated with the given id.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.GetMeasurementResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.GetMeasurementResponse]]

abstractmethod GetCondition(request, context)

Gets the condition associated with the given id.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.GetConditionResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.GetConditionResponse]]

abstractmethod QueryConditions(request, context)

Queries conditions using OData query syntax. See https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.QueryConditionsResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.QueryConditionsResponse]]

abstractmethod QueryMeasurements(request, context)

Queries measurements using OData query syntax. See https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.QueryMeasurementsResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.QueryMeasurementsResponse]]

abstractmethod ReadConditionValue(request, context)

Reads the value corresponding to the specified condition.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.ReadConditionValueResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.ReadConditionValueResponse]]

abstractmethod ReadMeasurementValue(request, context)

Reads the value corresponding to the specified measurement.

Parameters:
Return type:

Union[ni.measurements.data.v1.data_store_service_pb2.ReadMeasurementValueResponse, collections.abc.Awaitable[ni.measurements.data.v1.data_store_service_pb2.ReadMeasurementValueResponse]]

ni.measurements.data.v1.data_store_service_pb2_grpc.add_DataStoreServiceServicer_to_server(servicer, server)
Parameters:
Return type:

None