LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send IP pacekts by LabVIEW RT

In a project,I use PXT RT controler and cRIO , need send IP packets to communicate with other PCs.

I can use raw socket to send IP packets on the Windows,how to send IP pacekts on the Pharlap and Vxworks by by LabVIEW RT?

There is somebody can help me ,thank you very much.

0 Kudos
Message 1 of 2
(2,676 Views)

Different methods of communicating between a VI on a Real-time target (RT PXI, cRIO) and a VI on Windows are outlined in Real-Time VI to Host VI Communication Methods. One of them is TCP communication, which sounds like the solution you're looking for (there are examples in the Example Finder). However, if you can get away with using shared variables, I'd recommend using them out of simplicity (you can flatten and unflatten to/from string or variant data types if necessary).

Good luck!

Misha
0 Kudos
Message 2 of 2
(2,662 Views)