Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support getting enum metadata from a LabVIEW cluster #308

Closed
pbirkhol-ni opened this issue Sep 11, 2023 · 1 comment
Closed

Support getting enum metadata from a LabVIEW cluster #308

pbirkhol-ni opened this issue Sep 11, 2023 · 1 comment

Comments

@pbirkhol-ni
Copy link
Contributor

pbirkhol-ni commented Sep 11, 2023

When using an enum message, grpc-labview requires you to register enum metadata. This works fine when generating a client/server using grpc-labview's code generator, but MeasurementLink doesn't do this. Instead, MeasurementLink uses Cluster to gRPC LabVIEW Message.vi to dynamically generate message metadata at runtime. This has always worked fine, but with grpc-labview 1.0.0.7, it no longer works with enums. The reason is that we now have to register enum metadata with grpc-labview.

One possible fix is to add a VI to generate the enum metadata given a cluster, similar to how Cluster to gRPC LabVIEW Message.vi works. Then MeasurmentLink would call that new VI and register the resulting metadata.

AB#2518465

@pbirkhol-ni
Copy link
Contributor Author

I have verified in the latest release that this is fixed. The overall issue that measurementlink-labview is trying to solve is not yet fixed, but this issue as written has been verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant