MIT License

项目介绍

ni/grpc-labview 是一个托管在 GitHub 上的开源项目,主要使用 LabVIEW 编写,采用 MIT License 许可证,目前获得 125 个 Star、80 次 Fork。

仓库全名
ni/grpc-labview
开源许可证
MIT License
Star 数
125
Fork 数
80
未关闭 Issue
116

README 摘要

gRPC Support for LabVIEW This repo contains necessary C++ code and support VIs to implement a gRPC server and client in LabVIEW. You can either use the service as defined to implement a generic server via gRPC 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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

grpc-labview 用什么语言开发?

主要使用 LabVIEW 编写,采用 MIT License 许可证,目前有 125 个 Star。

grpc-labview 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 grpc-labview 的源码?

可以直接克隆仓库:git clone https://github.com/ni/grpc-labview.git,默认分支为 master;安装与运行步骤见仓库 README。

grpc-labview 最近还在维护吗?

仓库最近一次更新为 10月1日,当前有 116 个未关闭 Issue;Star 数为 125,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

gRPC client and server support for LabVIEW

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
304
价值分
95
活跃状态
活跃

语言占比

Batchfile
C++
CMake
LabVIEW
Python

Release

README

gRPC Support for LabVIEW

Image Image

This repo contains necessary C++ code and support VIs to implement a gRPC server and client in LabVIEW. You can either use the service as defined to implement a generic server via gRPC 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.

When using with NI Linux RT, system image version 2022 Q4 or greater is required.

Note: This project is not yet complete

  • Not all .proto data types are supported
  • The VI generated has not been fully implemented when updating the generated code with the .proto - VIs need to be implemented by hand to match the .proto file in certain cases
  • 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

User Guide

If you would like to use LabVIEW gRPC in your project and want to where to start: Quick Start and Basic Tutorial is a great place to start. This covers step by step guide on,

  • how to create a simple proto
  • generate the server code
  • generate the client code
  • make modification to the generated code
  • run the server and client program

Examples

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

  • helloworld - Example server and client program which implements a simple Unary method. You can run this LabVIEW program along with Python server or client as well
  • route_guide - Example server and client program which implement unary, server streaming, client streaming and bidirectional functions

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.

评论

暂无评论