07-11-2023 04:23 AM
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?
Best Regards!
07-11-2023 07:40 AM - edited 07-11-2023 07:41 AM
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?