I'm not clear on how to transmit binary data via TCP in LabView. The TCP VIs all take string inputs. I need to send three 32-bit words via TCP. The first 32 bits is Mete Data, the second 32 will be an address and the final 32 bits will be a value to write (if a write is the task). I'd like to be able to take hex values and transmit them in this format, but not sure how to make that happen.
I tried that. When I try to transmit zero for example, I receive 48 on the other end which is the ASCII representation for zero. My receiver is expecting binary data. The ASCII translation throws things off.
i attach an image. Like shown there you can tranform your data to string and get it back on the received side, because you know the format of the received data.
If you want to build the hex data yourself, you can use the Byte Array to String primitive, which takes an array of U8 and returns the relevant string.