LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP Data Stream to Pi

Hello all, I currently have a VI that sends some data to a raspberry PI and I do not believe it is the best way to do it, but its working. 

 

RT_TCP.VI     -> Works fine but uses two ports 

 

RT_TCP_SingePort.Vi     -> Does not work how I would like. It currently sends repeated timestamps OR messes up the sampling.

 

I have thought about putting everything into a single loop but would like some guidance first.

0 Kudos
Message 1 of 5
(316 Views)

You talk about "single port" and "single loop" and it is not clear at all what you are doing. Show us some code and explain what's running on the pi.

0 Kudos
Message 2 of 5
(305 Views)

I attached all of this in previous post, but I guess it did not work. 

0 Kudos
Message 3 of 5
(299 Views)

Your attachment is missing the lvproj and lots of subVI.

ZYOng_0-1770259392562.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 4 of 5
(256 Views)
0 Kudos
Message 5 of 5
(226 Views)