Page 1 of 1

TCP Sink/Output data size

Posted: Mon Aug 25, 2025 7:32 pm
by hardcobblefu
I use TCP sink(mode=server) to send the sinewave data to a client(LabVIEW code) running on the same computer. I'm able to see some random data instead of Sinewave in LabVIEW. Has anyone used TCP connection successfully? What length of data(output data packet size) will be expected on client side in each run? Thanks!

Re: TCP Sink/Output data size

Posted: Mon Jan 12, 2026 12:17 am
by SprunkiRetake
I ran into this exact headache when connecting my SDR flowgraph to LabVIEW; it looked like total noise until I realized I was trying to read raw binary bytes as if they were text strings. Once I used the 'Type Cast' tool to convert the incoming data stream into Single Precision floats, the sine wave showed up instantly. It takes a bit of tweaking to get the byte order right, but it works flawlessly after that