ConnectToTCPServer Callback Function Doesn't Run in LabWindows™/CVI™

Updated Jun 27, 2018

Reported In

Software

  • LabWindows/CVI

Operating System

  • Windows

Issue Details

I have connected my computer to a device that returns data over my Ethernet port. I set up a callback function in LabWindows/CVI using ConnectToTCPServer but my callback function never occurs. Why is this happening?

Solution

Make sure that your device returns a carriage return character so that LabWindows/CVI knows that data has been received. If it's not possible for the device to send back a carriage return character, you may have to skip the callback function. You can still use the ClientTCPRead function to read your data.

WAS THIS ARTICLE HELPFUL?

Not Helpful