Skip to content

Generated server lvlib should not make methods private that are needed to start the service #450

@jplotzke

Description

@jplotzke

When using the latest v1.5.1.1 generation tool (I'm not sure how far back this was implemented), the generated server lvlib makes several top-level VIs in private scope. In my opinion, this limits useability and workflow of the toolkit. Specifically, Register gRPC Messages.vi, Register Descriptors.vi, and Get Service Class Instances.vi should be public scope.

For my use case, I have a set of gRPC services which I generate server/client VIs for, but I keep each service as a separate generated lvlib. I have several versions of a top-level gRPC server which pulls in different gRPC service lvlibs as necessary. Because these generated VIs are now in private scope, I have to manually reset these to public scope to use these methods outside the lvlib.

I personally only use the generated Run Service.vi for individual testing purposes. I love that it is there, but we shouldn't limit running the generated services to only that VI.

Image

AB#3135155

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions