Jump to content

Anatoliy Lemberskiy

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Anatoliy Lemberskiy

  1. 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

×
×
  • Create New...

Important Information

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