ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating executable/installation package with LabView gRPC

Hi Everyone,

I've created a project containing gRPC client library.

It works well from the development environment and now I need to create executable and, eventually, the installation package for customer to test it out.

When running an executable, I got the following error:  


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.


The best I can tell is Create Client.vi throws an error, perhaps due to not finding server DLL, but its just my guess, as I was able to dig down to Create Client.vi:

alemberskiy_0-1710282846970.png

 

Not sure why would it act any different when compiled. The executable is placed at the same location as project file. I began to wonder if I'm digging in the wrong place. Are there a steps I need to take to generate an executable, property set, etc.,?

 

Thank you!

0 Kudos
Message 1 of 3
(1,700 Views)

You should include <LabVIEW>\vi.lib\gRPC\LabVIEW gRPC Library\Libraries folder in your build specification.

ZYOng_0-1710287827331.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 3
(1,678 Views)

Hi ZYOng,

Thank you for your replay. I see the problem, but not sure I understand the solution. Can you show me where in build specification do I add that folder?

0 Kudos
Message 3 of 3
(1,637 Views)