TCP Sink/Output data size

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
hardcobblefu
Posts: 1
Joined: Mon Aug 25, 2025 3:04 pm

TCP Sink/Output data size

Post 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!
SprunkiRetake
Posts: 1
Joined: Mon Jan 12, 2026 12:15 am

Re: TCP Sink/Output data size

Post 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
Post Reply