LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending arrays using TCP with labVIEW

I have an application where I have an array of strings that need to be sent by line via tcp protocol, for example the array of strings in the picture below, I need to send it 5 times, the first time I send 1111 1111, the second time I send 2222 2222 and so on for 5 times, so how do I implement this in LabVIEW?

96fd7ccefa727537306e5453e7efe26.png

Best Regards!

 

0 Kudos
Message 1 of 2
(574 Views)

Why not  send the entire array at once? Just flatten to a string, then unflatten at the other end.

If you really want to send it line-by-line use a FOR loop, autoindexing on the array. What have you tried so far?

 

Is the "other" side some third party device that requires a certain format or are you programming both sides yourself?

0 Kudos
Message 2 of 2
(542 Views)