-
Try out the new Jake: AI Coding Assistant for LabVIEW (beta)!
Get answers to questions about LabVIEW and discuss your code.
NATS Core by Drew Herron - Toolkit for LabVIEW Download
Version | 1.0.0.1 |
Released | Aug 10, 2022 |
Publisher | Drew Herron |
License | BSD 3-Clause |
LabVIEW Version | LabVIEW>=13.0 |
Operating System | Windows, Mac, and Linux |
Project links | Homepage Repository |
Description
Adds core client Neural Autonomic Transport System (NATS) functionality to LabVIEW. NATS is a lightweight pub/sub messaging system that provides at-most-once QoS messaging.
The entire toolkit is written in native LabVIEW and requires no external dependencies to run the code (other than a freely available functioning NATS server).
To learn more about NATS and to download the free, open-source server application visit https://nats.io
Note: This is not a JetStream-enabled client.
Features:
- Written entirely in LabVIEW
- Supports publishing client commands: CONNECT, PUB, HPUB, SUB, UNSUB, PING, PONG
- Supports reading server messages: INFO, MSG, HMSG, PING, PONG, +OK, -ERR
- TCP connection refnum exposed to allow use of LabVIEW 2020+ native TLS
- Server INFO and client CONNECT commands stored in native JSON to aid in futureproofing
- Automatic PONG response to server PING requests for keep-alive functionality
- Server/client configuration checks to validate HPUB usage
- Handles asynchronous server INFO updates during a READ
Examples Included:
- Simple NATS Client Publisher
- Simple NATS Client Reader