Skip to content

jaehyungchoi33/RT-Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages