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

Missing labview_grpc_generator.dll in Load ProtoFile.vi #375

Closed
DaliaR1 opened this issue Aug 20, 2024 · 4 comments
Closed

Missing labview_grpc_generator.dll in Load ProtoFile.vi #375

DaliaR1 opened this issue Aug 20, 2024 · 4 comments

Comments

@DaliaR1
Copy link

DaliaR1 commented Aug 20, 2024

I want to generate code from a proto file.
There is a nice tool called Open gRPC Server-Client [2] - Code Generator.vi.
I ran it from the folder \grpc-labview-master\labview source\Client Server Support New\gRPC Scripting Tools

PrototoVI

When I run it (I specified the proto file and target project), it gives me error:
Error 7 occurred at Call Library Function Node in gRPC Template Creation Utility.lvlib:Load ProtoFile.vi

Looking at the Load ProtoFile.vi, it looks for a DLL called Libraries\Win64*labview_grpc_generator.dll*
I couldn't find it in the code.
Where is this dll?

Thanks
Dalia

AB#2834397

@yash-ni
Copy link
Collaborator

yash-ni commented Sep 13, 2024

Hi @DaliaR1, did you follow the instructions to install the gprc-labview package as specified in the README?

@Jul-ctrl
Copy link

Hello,

I have the same problem, I followed the instructions step by step but the dll doesn't exist on my computer.
My LabVIEW version is 2019 SP1 32 bits and I use the last GRPC Library version
If you have any ideas on how to solve this problem
Thanks in advance

Jules

@DaliaR1
Copy link
Author

DaliaR1 commented Oct 27, 2024

Hi @yash-ni

Im sorry for the late response.
I followed the instructions from the Readme:

  1. Download and Unzip grpc-labview.zip which contains the released packages.
  2. Install the following gRPC package:
    ni_lib_labview_grpc_library-x.x.x.x.vip
    ni_lib_labview_grpc_servicer-x.x.x.x.vip
    ni_lib_grpc_server_and_client_template[2]-x.x.x.x.vip

Unfortunately, there none of them install the labview_grpc_generator.dll.

I will try to reproduce it in a different computer, but I already tried twice in 2 different computers.

Which package should install the labview_grpc_generator.dll?

Thank you

@DaliaR1
Copy link
Author

DaliaR1 commented Nov 19, 2024

Hi @Jul-ctrl

I found the solution.
The correct GRPC VIP packages are here:
[https://github.com/ni/grpc-labview/releases]

Download the grpc-labview.zip from the Assets. It includes 3 VIP packages. The ni_lib_grpc_server_and_client_template[2]-x.x.x.x.vip installs the dll and the code generator.
image

Hope it will help you
Dalia

@DaliaR1 DaliaR1 closed this as completed Nov 19, 2024
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

3 participants