Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP communication with LINX API? (beaglebone black)

I apologize if this is an easy question. Are there LINX vi's for TCP communication over beaglebone? Or do we just use NI's TCP vi's? TCP communication (immediate mode) works ok.. sometimes. We found a TCP_NoDelay_Linux vi, but it seems to break when I try to use it on the beaglebone. Any advice would be greatly appreciated.

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

Hi,

The LINX API does not include VI's to set TCP socket options.
There is an excellent tutorial here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NZfSAM&l=en-GB

 

The TCP_NoDelay_Linux.vi runs on the BeagleBone with a small change to the NagleDemo-MessageSender.vi example. 

I had to change the case structure to add a condition for OS == Linux

 

AndyLB_0-1605867783603.png

 

Hope this helps! 

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