Skip to content

chrisb2244/grpc-labview

 
 

Repository files navigation

gRPC Support for LabVIEW

This repo contains necessary C++ code and support VIs to implement a gRPC server in LabVIEW.

Open examples/query_server/Query Server.lvproj for examples on creating a query server. /examples/query_server/Protos/query_server.proto defines a simple query service example that can be used for a variety of purposes.

You can either use the service as defined to implement a generic server via gPRC or use the implementation as a pattern to implement a gRPC service of your design.

The project supports Windows, Linux, and Linux RT.

Minimum Compatible LabVIEW Version

LabVIEW source is saved with LabVIEW 2019.

Note: This project is not yet complete

  • Not all .proto data types are supported
  • The VI generated has not yet been implemneted - VIs need to be implemented by hand to match the .proto file
  • Extensive testing is not complete
  • The names of the various generated methods, events, and VIs are subject to change until the 1.0 release
  • This project is not supported by NI Technical Support

Creating a LabVIEW gRPC Server

Step-by-step examples can be found in the Creating a Server guide

Examples

Example servers are located in the examples foldes in the releases.

  • QueryServer - Example server which implements a Query / Invoke / Event API

The examples include a python client that can be used to communicate with the example servers.

Using the LabVIEW Client API

Coming Soon

SSL/TLS Support

The connection to the server can be secured using TLS (Server provided certificates) or Multual TLS (Client and Server provided certificates). See Certificates for more information.

Building the server binaries

To build the binaries for the scripting tool or the gRPC server see Building for instructions.

Contributing

Contributions to grpc-labview are welcome from all. See Contributing for instructions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 56.7%
  • LabVIEW 41.7%
  • CMake 1.6%