/RT-bridge

A ZeroMQ-based nearly-real-time messaging bridge for telemetry and control

Primary LanguageC

RT-Bridge

RT-Bridge is a nearly-realtime message-passing framework built on top of the publisher-subscriber model using ZeroMQ. It has been developed with ease of deployment and low computational overhead in mind.

ZMQonPXI

Jaehyung Choi
Valero Lab
Updated November 7, 2021

This repository documents the code for using ZMQ to send and receive messages between the PXI computer and the Raspberry Pi, or the hand.
Test4 is a folder containing the code from the working Visual Studio 2019 project on the PXI computer.

Raspberry Pi

raspi.c, zmqwrap.c, and zmqwrap.h are the files in the Raspberry Pi titled test.c and wrap.h
Raspberry Pi:
Open Putty
Select Raspi-test, and click Open
Username: pi
Password: raspberry
cd zmqClient/
gcc test1.c -o test1 -lzmq
./test1

PXI

pxitest.c, zmqwrap.h, and zmqwrap.c are the files in Desktop > JaehyungTesting > Test2 > Test3 > (Test3.c, wrap.c, wrap.h)
Open Visual Studio 2019 and open Test3.sln
Run without debugging to run the code

Python

We have pprog.py, which is an example that uses the wrapper functions.
We have pwrap.py, which is the Python wrapper library.