Jump to content

Recommended Posts

Hello everyone,

I'm trying to create an executable that uses gRPC library. The project works well from development environment but I get an error 7 when running compiled code:

Error 7 occurred at Call Library Function Node in grpc-lvsupport-release.lvlib:Create Client.vi:560002->Voluson_client.lvlib:Create Client.vi:560001->gRPCFunctionCall.vi->Sequence Editor 1.vi

LabVIEW: (Hex 0x7) File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.

I tracked it down to "GetServerDLL.vi", which, by default, e.g. when not in run-time, runs the following code:

image.png.7671ce6d3f0f394d2777323d63435ae3.png

and returns path "C:\Program Files\National Instruments\LabVIEW 2023\vi.lib\gRPC\LabVIEW gRPC Library\Libraries\Win64\labview_grpc_server.dll", which is where the "Libraries" folder is located.

At run time, it executes this:

image.png.b395327f7740e76de6f3511e8aebce8a.png

which, of course returns location of the exe+Libraries\Win64...

I'm not clear on the intention of this or what steps should I take to make it work? Do I need to copy the whole "Libraries" to the same location as the executable manually and then add it to build specs for installer?

Thank you for reading.

AL

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.